- use EXIT_{SUCCESS,FAILURE}. No object-code changes

This commit is contained in:
Bernhard Reutner-Fischer
2008-05-19 09:29:47 +00:00
parent cb83abd7b6
commit 636a1f85e8
45 changed files with 85 additions and 85 deletions

View File

@ -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 */