svn commit: trunk/busybox/init
aldot at busybox.net
aldot at busybox.net
Mon Jul 21 04:30:51 PDT 2008
Author: aldot
Date: 2008-07-21 04:30:51 -0700 (Mon, 21 Jul 2008)
New Revision: 22900
Log:
- document -f
Modified:
trunk/busybox/init/halt.c
Changeset:
Modified: trunk/busybox/init/halt.c
===================================================================
--- trunk/busybox/init/halt.c 2008-07-21 11:18:02 UTC (rev 22899)
+++ trunk/busybox/init/halt.c 2008-07-21 11:30:51 UTC (rev 22900)
@@ -66,12 +66,12 @@
#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)
More information about the busybox-cvs
mailing list