1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

extend workaround for multiple dashes

This commit is contained in:
zivillian 2020-08-08 16:26:15 +02:00 committed by Lars Kruse
parent 21379f5841
commit 58e371308a

View file

@ -50,7 +50,10 @@ GPLv2
CVOL=${0##*dm_cache_occupancy_} CVOL=${0##*dm_cache_occupancy_}
#workaround for http://munin-monitoring.org/ticket/1236 #workaround for http://munin-monitoring.org/ticket/1236
CVOL=${CVOL/____/-} while [[ $CVOL == *"____"* ]]
do
CVOL=${CVOL/____/-}
done
case $1 in case $1 in
autoconf) autoconf)