aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 11:30:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 11:30:51 +0000
commitef9876a40e2dbb4e90a604739b2e318be8ed3cb6 (patch)
treedb2c0b01dcfa2f8b9c0985b749187270a0ea313e
parent0328b40aee6f0de68b7dc21bd9e1916db0ace468 (diff)
downloadbusybox-ef9876a40e2dbb4e90a604739b2e318be8ed3cb6.tar.gz
- document -f
-rw-r--r--init/halt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/halt.c b/init/halt.c
index 207069e12..7e1b30f39 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -66,12 +66,12 @@ RB_AUTOBOOT
#endif /* !ENABLE_FEATURE_WTMP */
if (flags & 8) /* -w */
- return 0;
+ return EXIT_SUCCESS;
if (!(flags & 2)) /* no -n */
sync();
/* Perform action. */
- if (ENABLE_INIT && !(flags & 4)) {
+ if (ENABLE_INIT && !(flags & 4)) { /* no -f */
if (ENABLE_FEATURE_INITRD) {
pid_t *pidlist = find_pid_by_name("linuxrc");
if (pidlist[0] > 0)