diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-01-25 11:01:49 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-01-25 11:36:15 +0100 |
commit | ce4624801ed46ecf912205cd984f3488e3e07bac (patch) | |
tree | 9cecc438c8c735b50c58008cb09a454dcfdc795e | |
parent | 9b0f0c14da41424fc0ab50cc9a71499dcb307bd0 (diff) |
main: minor improvement of daemonizing
Change-Id: Iba9cb6ae3e18524a99cb82e521b4ca1aeec8d972
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |