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
58e371308a
commit
ca2484b357
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ GPLv2
|
||||||
|
|
||||||
CVOL=${0##*dm_cache_statistics_}
|
CVOL=${0##*dm_cache_statistics_}
|
||||||
#workaround for http://munin-monitoring.org/ticket/1236
|
#workaround for http://munin-monitoring.org/ticket/1236
|
||||||
|
while [[ $CVOL == *"____"* ]]
|
||||||
|
do
|
||||||
CVOL=${CVOL/____/-}
|
CVOL=${CVOL/____/-}
|
||||||
|
done
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
autoconf)
|
autoconf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue