From ce4624801ed46ecf912205cd984f3488e3e07bac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Mon, 25 Jan 2016 11:01:49 +0100 Subject: [PATCH] main: minor improvement of daemonizing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Iba9cb6ae3e18524a99cb82e521b4ca1aeec8d972 Signed-off-by: José Bollo --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6