mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
extend workaround for multiple dashes
This commit is contained in:
parent
21379f5841
commit
58e371308a
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ GPLv2
|
|||
|
||||
CVOL=${0##*dm_cache_occupancy_}
|
||||
#workaround for http://munin-monitoring.org/ticket/1236
|
||||
while [[ $CVOL == *"____"* ]]
|
||||
do
|
||||
CVOL=${CVOL/____/-}
|
||||
done
|
||||
|
||||
case $1 in
|
||||
autoconf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue