summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
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);