From f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 21 Apr 2009 20:40:51 +0000 Subject: switch_root: improve behavior on error; improve help text *: make "can't execute '%s'" message uniform --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/hush.c') diff --git a/shell/hush.c b/shell/hush.c index 53b1f3f8b..56b12cebc 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -3048,7 +3048,7 @@ static void pseudo_exec_argv(nommu_save_t *nommu_save, debug_printf_exec("execing '%s'\n", argv[0]); sigprocmask(SIG_SETMASK, &G.inherited_set, NULL); execvp(argv[0], argv); - bb_perror_msg("can't exec '%s'", argv[0]); + bb_perror_msg("can't execute '%s'", argv[0]); _exit(EXIT_FAILURE); } -- cgit v1.2.3