diff options
Diffstat (limited to 'networking/udhcp/script.c')
-rw-r--r-- | networking/udhcp/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index 5a4b33a53..3c4b51b24 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c | |||
@@ -200,7 +200,7 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name) | |||
200 | if (client_config.script == NULL) | 200 | if (client_config.script == NULL) |
201 | return; | 201 | return; |
202 | 202 | ||
203 | DEBUG(LOG_INFO, "vforking and execle'ing %s", client_config.script); | 203 | DEBUG("vfork'ing and execle'ing %s", client_config.script); |
204 | 204 | ||
205 | envp = fill_envp(packet); | 205 | envp = fill_envp(packet); |
206 | /* call script */ | 206 | /* call script */ |
@@ -216,7 +216,7 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name) | |||
216 | /* exec script */ | 216 | /* exec script */ |
217 | execle(client_config.script, client_config.script, | 217 | execle(client_config.script, client_config.script, |
218 | name, NULL, envp); | 218 | name, NULL, envp); |
219 | LOG(LOG_ERR, "script %s failed: %m", client_config.script); | 219 | bb_perror_msg("script %s failed", client_config.script); |
220 | exit(1); | 220 | exit(1); |
221 | } | 221 | } |
222 | } | 222 | } |