diff options
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 2 |
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); |