mirror of
https://git.busybox.net/udhcp
synced 2025-05-09 06:11:34 +08:00
fix for continous backgrounding (bug 1294)
This commit is contained in:
parent
9f3200d3aa
commit
fe948782ed
1
dhcpc.c
1
dhcpc.c
@ -198,6 +198,7 @@ static void background(void)
|
|||||||
exit_client(1);
|
exit_client(1);
|
||||||
}
|
}
|
||||||
client_config.foreground = 1; /* Do not fork again. */
|
client_config.foreground = 1; /* Do not fork again. */
|
||||||
|
client_config.background_if_no_lease = 0;
|
||||||
pidfile_write_release(pid_fd);
|
pidfile_write_release(pid_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user