- use EXIT_{SUCCESS,FAILURE}. No object-code changes
This commit is contained in:
1 parent
cb83abd7b6
commit
636a1f85e8
45 files changed
+85
-85
No files matched your search
@@ -403,7 +403,7 @@ int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
/* parent */
|
||||
/* why _exit? the child may have changed the stack,
|
||||
* so "return 0" may do bad things */
|
||||
_exit(0);
|
||||
_exit(EXIT_SUCCESS);
|
||||
}
|
||||
/* child */
|
||||
setsid(); /* detach from controlling tty */
|
||||
|
||||
Reference in new issue
Block a user