summaryrefslogtreecommitdiffstats
path: root/packaging/docker/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/docker/run.sh')
-rwxr-xr-xpackaging/docker/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/docker/run.sh b/packaging/docker/run.sh
index 70952b10b7..1d886f01ac 100755
--- a/packaging/docker/run.sh
+++ b/packaging/docker/run.sh
@@ -7,7 +7,7 @@
# Author : Pavlos Emm. Katsoulakis <paul@netdata.cloud>
set -e
-if [ ! "$DO_NOT_TRACK" -eq 0 ] || [ -n "$DO_NOT_TRACK" ]; then
+if [ ! "${DO_NOT_TRACK:-0}" -eq 0 ] || [ -n "$DO_NOT_TRACK" ]; then
touch /etc/netdata/.opt-out-from-anonymous-statistics
fi