1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00:00

Fix comparison to be /bin/sh compliant

This commit is contained in:
Stig Sandbeck Mathisen 2014-10-04 22:23:52 +02:00
parent 81fd4c97c3
commit 5fe31e0c38

View file

@ -72,7 +72,7 @@ for i in $LIST1; do
done
# If TOTU is 0, change to 1 for avoid problem in the division
if [[ $TOTU -eq 0 ]]; then
if [ "$TOTU" = "0" ]; then
TOTU=1
fi