From: José Bollo Date: Mon, 25 Jan 2016 10:01:49 +0000 (+0100) Subject: main: minor improvement of daemonizing X-Git-Tag: blowfish_2.0.1~293 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ce4624801ed46ecf912205cd984f3488e3e07bac;p=src%2Fapp-framework-binder.git main: minor improvement of daemonizing Change-Id: Iba9cb6ae3e18524a99cb82e521b4ca1aeec8d972 Signed-off-by: José Bollo --- diff --git a/src/main.c b/src/main.c index e14dc3a1..b17435ec 100644 --- a/src/main.c +++ b/src/main.c @@ -574,7 +574,7 @@ int main(int argc, char *argv[]) { if (status == -1) goto errorPidFile; // we are in father process, we don't need this one - exit (0); + _exit (0); } // end background-foreground