Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9b0f0c1
)
main: minor improvement of daemonizing
author
José Bollo
<jose.bollo@iot.bzh>
Mon, 25 Jan 2016 10:01:49 +0000
(11:01 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Mon, 25 Jan 2016 10:36:15 +0000
(11:36 +0100)
Change-Id: Iba9cb6ae3e18524a99cb82e521b4ca1aeec8d972
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
e14dc3a
..
b17435e
100644
(file)
--- 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