switch_root: improve behavior on error; improve help text

*: make "can't execute '%s'" message uniform
This commit is contained in:
Denis Vlasenko
2009-04-21 20:40:51 +00:00
parent 950bd72966
commit f9d4fc3cf8
10 changed files with 48 additions and 41 deletions

View File

@@ -52,7 +52,7 @@ void FAST_FUNC open_transformer(int fd,
argv[2] = (char*)"-";
argv[3] = NULL;
BB_EXECVP(transform_prog, argv);
bb_perror_msg_and_die("can't exec %s", transform_prog);
bb_perror_msg_and_die("can't execute '%s'", transform_prog);
}
#endif
/* notreached */