@cryptotaxi247 / netdata-1 / commits / 6e0edea88

prevent too frequent loops if div is missing

Costa Tsaousis (ktsaou) committed Nov 21, 2015 at 01:30 UTC 6e0edea8886f801da9da6ab2cb4adfb8f0111c7c
1 file changed +1 -1
plugins.d/loopsleepms.sh.inc
+1 -1
@@ -40,7 +40,7 @@ loopsleepms() {
40 shift
41 t="$1"
42 fi
43 - div="$2"
43 + div="${2-100}"
44
45 # $t = the time in seconds to wait
46