svn commit: [26177] trunk/busybox/util-linux
vda at busybox.net
vda at busybox.net
Tue Apr 21 20:52:58 UTC 2009
Author: vda
Date: 2009-04-21 20:52:58 +0000 (Tue, 21 Apr 2009)
New Revision: 26177
Log:
switch_root: move misplaced comment
Modified:
trunk/busybox/util-linux/switch_root.c
Changeset:
Modified: trunk/busybox/util-linux/switch_root.c
===================================================================
--- trunk/busybox/util-linux/switch_root.c 2009-04-21 20:40:51 UTC (rev 26176)
+++ trunk/busybox/util-linux/switch_root.c 2009-04-21 20:52:58 UTC (rev 26177)
@@ -103,8 +103,8 @@
// For example, fails when newroot is not a mountpoint
bb_perror_msg_and_die("error moving root");
}
+ xchroot(".");
// The chdir is needed to recalculate "." and ".." links
- xchroot(".");
xchdir("/");
// If a new console specified, redirect stdin/stdout/stderr to it
More information about the busybox-cvs
mailing list