From: John Crispin Date: Wed, 5 Nov 2014 15:22:31 +0000 (+0100) Subject: call setsid during startup. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b899234bd657fa1ae1c71315326c3fe2cd9b6cec;p=project%2Fprocd.git call setsid during startup. this fixes a bug where pgrp was not set up properly leading to a trail of carnage; Signed-off-by: John Crispin --- diff --git a/procd.c b/procd.c index 8dcd924..7528e60 100644 --- a/procd.c +++ b/procd.c @@ -62,6 +62,7 @@ int main(int argc, char **argv) return usage(argv[0]); } } + setsid(); uloop_init(); procd_signal(); trigger_init();