aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c3
-rw-r--r--networking/tcpudp.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 714d2a107..1bab2c5cb 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -1052,8 +1052,7 @@ static int popen2(FILE **in, FILE **out, char *command, char *param)
1052 close(outfd.rd); 1052 close(outfd.rd);
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_or_die(argv);
1056 bb_perror_msg_and_die("can't execute '%s'", command);
1057 } 1056 }
1058 /* parent */ 1057 /* parent */
1059 close(infd.rd); 1058 close(infd.rd);
diff --git a/networking/tcpudp.c b/networking/tcpudp.c
index 4e4756738..53e622b56 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -501,10 +501,10 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
501#ifdef SSLSVD 501#ifdef SSLSVD
502 strcpy(id, utoa(pid)); 502 strcpy(id, utoa(pid));
503 ssl_io(0, argv); 503 ssl_io(0, argv);
504 bb_perror_msg_and_die("can't execute '%s'", argv[0]);
504#else 505#else
505 BB_EXECVP(argv[0], argv); 506 BB_EXECVP_or_die(argv);
506#endif 507#endif
507 bb_perror_msg_and_die("can't execute '%s'", argv[0]);
508} 508}
509 509
510/* 510/*