*: make exec failure message more consistent

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-06-25 01:46:53 +02:00
parent 2b46fd49b1
commit 41ddd9f606
24 changed files with 40 additions and 40 deletions

View File

@@ -86,5 +86,5 @@ void FAST_FUNC run_shell(const char *shell, int loginshell, const char *command,
freecon(current_sid);
#endif
execv(shell, (char **) args);
bb_perror_msg_and_die("can't run '%s'", shell);
bb_perror_msg_and_die("can't execute '%s'", shell);
}

View File

@@ -249,7 +249,7 @@ void FAST_FUNC re_exec(char **argv)
* "we have (already) re-execed, don't do it again" flag */
argv[0][0] |= 0x80;
execv(bb_busybox_exec_path, argv);
bb_perror_msg_and_die("exec %s", bb_busybox_exec_path);
bb_perror_msg_and_die("can't execute '%s'", bb_busybox_exec_path);
}
pid_t FAST_FUNC fork_or_rexec(char **argv)