@cryptotaxi247 / netdata-1 / commits / e62b8f4c2

properly detect the lack of high resolution date on busybox systems

Costa Tsaousis (ktsaou) committed Sep 27, 2016 at 01:03 UTC e62b8f4c206e2841549a1ec4aed2cb6bec395faf
1 file changed +1
plugins.d/loopsleepms.sh.inc
+1
@@ -13,6 +13,7 @@ fi
13 now_ms=
14 LOOPSLEEPMS_HIGHRES=1
15 test "$($LOOPSLEEP_DATE +%N)" = "%N" && LOOPSLEEPMS_HIGHRES=0
16 +test -z "$($LOOPSLEEP_DATE +%N)" && LOOPSLEEPMS_HIGHRES=0
17 current_time_ms_from_date() {
18 if [ $LOOPSLEEPMS_HIGHRES -eq 0 ]
19 then