summaryrefslogtreecommitdiffstats
path: root/daemon/signals.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemon/signals.c (renamed from src/signals.c)3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signals.c b/daemon/signals.c
index 331e8035..71f27188 100644
--- a/src/signals.c
+++ b/daemon/signals.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "common.h"
typedef enum signal_action {
@@ -147,6 +149,7 @@ void signals_handle(void) {
break;
case NETDATA_SIGNAL_EXIT_CLEANLY:
+ error_log_limit_unlimited();
info("SIGNAL: Received %s. Cleaning up to exit...", name);
netdata_cleanup_and_exit(0);
exit(0);