summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-28 21:16:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-28 21:16:49 +0000
commitc7191c291b318c93b4db058b7ff820cb7dc44cc7 (patch)
tree8caa842f47708dac599794745b87212e4d71df7b /daemon/main.c
parentReleasing debian version 1.12.1-2. (diff)
downloadnetdata-c7191c291b318c93b4db058b7ff820cb7dc44cc7.tar.xz
netdata-c7191c291b318c93b4db058b7ff820cb7dc44cc7.zip
Merging upstream version 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);