summaryrefslogtreecommitdiffhomepage
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-25 01:46:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-25 01:46:53 +0200
commit41ddd9f60604cd994eeb37eb5708e9d3d5c8484b (patch)
treea2c7b5e6ea0d26715bac8c1f9f4b4e1fbad22534 /networking/ifupdown.c
parent2b46fd49b14b2ac30e0c767c65ac2b29f6922a45 (diff)
*: make exec failure message more consistent
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 2f3dd1d7b..714d2a107 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);