From 41ddd9f60604cd994eeb37eb5708e9d3d5c8484b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 25 Jun 2010 01:46:53 +0200 Subject: *: make exec failure message more consistent Signed-off-by: Denys Vlasenko --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ifupdown.c') diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 2f3dd1d..714d2a1 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1053,7 +1053,7 @@ static int popen2(FILE **in, FILE **out, char *command, char *param) xmove_fd(infd.rd, 0); xmove_fd(outfd.wr, 1); BB_EXECVP(command, argv); - _exit(127); + bb_perror_msg_and_die("can't execute '%s'", command); } /* parent */ close(infd.rd); -- cgit v1.1