diff options
| author | Roy Marples <roy@marples.name> | 2020-04-16 23:27:47 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-16 23:27:47 +0100 |
| commit | 541d1083777125c32c789bf282a5232f832cc0fc (patch) | |
| tree | 5903880ea45e6f0f00c11dc750107ffbb7840cc1 /src/dhcpcd.c | |
| parent | be4dac84ede995559aed2bb85c23e817d5e67a04 (diff) | |
| download | dhcpcd-541d1083777125c32c789bf282a5232f832cc0fc.tar.xz | |
dhcpcd: daemomize if no valid interfaces found
But if we're waitig for an ip address we still wait.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 7bf52f4f..0059f47b 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2274,6 +2274,7 @@ printpidfile: loglevel = ctx.options & DHCPCD_INACTIVE ? LOG_DEBUG : LOG_ERR; logmessage(loglevel, "no valid interfaces found"); + dhcpcd_daemonise(&ctx); } else goto exit_failure; if (!(ctx.options & DHCPCD_LINK)) { |
