summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-31 11:12:41 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-31 11:12:41 +0200
commit06c7e1c7e9aec77a1a22ccb14dd0e540cf08f5d9 (patch)
tree45a54d1c30865463f2b8a3b6f78b49626ab03f1d
parent78867fd5c3c67839116b89d636b2f191fc14f4e1 (diff)
fix bad exit status report
Change-Id: Ieb3aac9610c3e60702fe709f283f5dc1805623d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f5512a2c..0e97c8a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -113,7 +113,6 @@ static void exit_handler()
killpg(0, SIGTERM);
else if (childpid > 0)
killpg(childpid, SIGTERM);
- exit(0);
}
static void on_sigterm(int signum, siginfo_t *info, void *uctx)