summaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/start_stop_daemon.c2
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 */