projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0328b40
)
- document -f
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 21 Jul 2008 11:30:51 +0000
(11:30 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 21 Jul 2008 11:30:51 +0000
(11:30 -0000)
init/halt.c
patch
|
blob
|
history
diff --git
a/init/halt.c
b/init/halt.c
index
207069e
..
7e1b30f
100644
(file)
--- 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)