← Commit list

e6b10ef0a

Denis Vlasenko
Denis Vlasenko
2009-04-21
FAILED Duration: 31s

Subject

switch_root: move misplaced comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/switch_root.c+1 -1
@@ -103,8 +103,8 @@ int switch_root_main(int argc UNUSED_PARAM, char **argv)
// For example, fails when newroot is not a mountpoint
bb_perror_msg_and_die("error moving root");
}
- // The chdir is needed to recalculate "." and ".." links
xchroot(".");
+ // The chdir is needed to recalculate "." and ".." links
xchdir("/");
// If a new console specified, redirect stdin/stdout/stderr to it