diff options
Diffstat (limited to 'networking/udhcp/script.c')
-rw-r--r-- | networking/udhcp/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index 8a18898..71f0333 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -232,7 +232,7 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name) name, NULL, envp); bb_perror_msg_and_die("script %s failed", client_config.script); } - waitpid(pid, NULL, 0); + safe_waitpid(pid, NULL, 0); for (curr = envp; *curr; curr++) free(*curr); free(envp); |