diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-25 01:46:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-25 01:46:53 +0200 |
commit | 41ddd9f60604cd994eeb37eb5708e9d3d5c8484b (patch) | |
tree | a2c7b5e6ea0d26715bac8c1f9f4b4e1fbad22534 /networking/ifupdown.c | |
parent | 2b46fd49b14b2ac30e0c767c65ac2b29f6922a45 (diff) | |
download | busybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.tar.gz busybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.tar.bz2 busybox-w32-41ddd9f60604cd994eeb37eb5708e9d3d5c8484b.zip |
*: 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.c | 2 |
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) | |||
1053 | xmove_fd(infd.rd, 0); | 1053 | xmove_fd(infd.rd, 0); |
1054 | xmove_fd(outfd.wr, 1); | 1054 | xmove_fd(outfd.wr, 1); |
1055 | BB_EXECVP(command, argv); | 1055 | BB_EXECVP(command, argv); |
1056 | _exit(127); | 1056 | bb_perror_msg_and_die("can't execute '%s'", command); |
1057 | } | 1057 | } |
1058 | /* parent */ | 1058 | /* parent */ |
1059 | close(infd.rd); | 1059 | close(infd.rd); |