summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-28 21:14:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-28 21:14:36 +0000
commit47891c8dac98554fa56bb8ac3e0f2142495529df (patch)
tree7f9265ea3747ef0627704800f005c7335607e10a /daemon/main.c
parentAdding upstream version 1.12.1. (diff)
downloadnetdata-47891c8dac98554fa56bb8ac3e0f2142495529df.tar.xz
netdata-47891c8dac98554fa56bb8ac3e0f2142495529df.zip
Adding upstream version 1.12.2.upstream/1.12.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index e93e97caa..97cd162a8 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -198,6 +198,8 @@ void cancel_main_threads() {
}
}
+ netdata_exit = 1;
+
while(found && max > 0) {
max -= step;
info("Waiting %d threads to finish...", found);