diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-28 21:14:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-28 21:14:36 +0000 |
commit | 47891c8dac98554fa56bb8ac3e0f2142495529df (patch) | |
tree | 7f9265ea3747ef0627704800f005c7335607e10a /daemon/main.c | |
parent | Adding upstream version 1.12.1. (diff) | |
download | netdata-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index e93e97ca..97cd162a 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); |