diff options
author | Denys Vlasenko | 2010-11-28 04:34:09 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-11-28 04:34:09 +0100 |
commit | 1c31e9e82b12bdceeec4f8e07955984e20ee6b7e (patch) | |
tree | 7b06f2898ba16ea00b77c5a2d1295c37753a8c4d /networking | |
parent | 57542ebe4fee39b6d3091b964c42ce07ecfec7ef (diff) | |
download | busybox-1c31e9e82b12bdceeec4f8e07955984e20ee6b7e.zip busybox-1c31e9e82b12bdceeec4f8e07955984e20ee6b7e.tar.gz |
use BB_EXECVP_or_die where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nc_bloaty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index 3c622e5..e98a5dd 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c @@ -268,8 +268,7 @@ static int doexec(char **proggie) dup2(0, 1); /* dup2(0, 2); - do we *really* want this? NO! * exec'ed prog can do it yourself, if needed */ - execvp(proggie[0], proggie); - bb_perror_msg_and_die("can't execute '%s'", proggie[0]); + BB_EXECVP_or_die(proggie); } /* connect_w_timeout: |