1
0
Fork 0
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:
zivillian 2020-08-08 16:27:58 +02:00 committed by Lars Kruse
parent 58e371308a
commit ca2484b357

View file

@ -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)