aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-12 17:14:00 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-13 12:19:11 +0200
commitc0423b4a824b992c82f91e04363b1f48d518fdbf (patch)
tree711ffcd97f774057fac0077975532dafa01f2d40
parent889d3adeaf5572cb87cc005c18f9fdf74f1b9cab (diff)
main-afb-daemon: Kill child instead of it
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>
-rw-r--r--src/main-afb-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c
index 75d51901..c1204464 100644
--- a/src/main-afb-daemon.c
+++ b/src/main-afb-daemon.c
@@ -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;