main-afb-daemon: Kill child instead of it 47/15347/2
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 Jul 2018 15:14:00 +0000 (17:14 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 13 Jul 2018 10:19:11 +0000 (12:19 +0200)
Killing afb-daemon when exit is called has bad side effects.
Because there is no need to do it now, remove it.

Change-Id: I18903bb168b1722a522cb4a78c5c8c2508483996
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/main-afb-daemon.c

index 75d5190..c120446 100644 (file)
@@ -64,7 +64,7 @@
    if SELF_PGROUP == 0 the launched command is the group leader
    if SELF_PGROUP != 0 afb-daemon is the group leader
 */
-#define SELF_PGROUP 1
+#define SELF_PGROUP 0
 
 struct afb_apiset *main_apiset;
 struct afb_config *main_config;