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 794e3ca..7ebef35 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -218,17 +218,17 @@ void FAST_FUNC udhcp_run_script(struct dhcp_packet *packet, const char *name) if (client_config.script == NULL) return; - log1("Executing %s", client_config.script); - envp = fill_envp(packet); /* call script */ + log1("Executing %s", client_config.script); argv[0] = (char*) client_config.script; argv[1] = (char*) name; argv[2] = NULL; wait4pid(spawn(argv)); for (curr = envp; *curr; curr++) { + log2(" %s", *curr); bb_unsetenv(*curr); free(*curr); } |