Fixed bug in auto-updater for FreeBSD (#10198) (#10204)
* Fixed bug in auto-updater for FreeBSD (#10198) * Fixed bug in auto-updater for FreeBSD (#10198)
abrbon committed
Nov 9, 2020 at 14:42 UTC
5fcfe4eb2971af24c466f2460f31de6e867a6ae0
1 file changed
+1
-1
packaging/installer/netdata-updater.sh
+1
-1
@@ -256,7 +256,7 @@ done
256
# But only we're not a controlling terminal (tty)
257
# Randomly sleep between 1s and 60m
258
if [ ! -t 1 ] && [ -z "${NETDATA_NOT_RUNNING_FROM_CRON}" ]; then
259
- sleep $(((RANDOM % 3600) + 1))s
259
+ sleep $(((RANDOM % 3600) + 1))
260
fi
261
262
# Usually stored in /etc/netdata/.environment