diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:29:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:29:47 +0000 |
commit | 636a1f85e89432601c59cdc3239fc867b4adf051 (patch) | |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /debianutils | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd (diff) | |
download | busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.bz2 busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.zip |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 524259979..8d73bdc80 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -403,7 +403,7 @@ int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
403 | /* parent */ | 403 | /* parent */ |
404 | /* why _exit? the child may have changed the stack, | 404 | /* why _exit? the child may have changed the stack, |
405 | * so "return 0" may do bad things */ | 405 | * so "return 0" may do bad things */ |
406 | _exit(0); | 406 | _exit(EXIT_SUCCESS); |
407 | } | 407 | } |
408 | /* child */ | 408 | /* child */ |
409 | setsid(); /* detach from controlling tty */ | 409 | setsid(); /* detach from controlling tty */ |