mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-27 12:03:45 +08:00
privsep: log sandbox when not daemonising
This commit is contained in:
parent
e1c846907c
commit
111fb8364c
@ -581,7 +581,9 @@ ps_mastersandbox(struct dhcpcd_ctx *ctx, const char *_pledge)
|
||||
}
|
||||
logerr("%s: %s", __func__, sandbox);
|
||||
return -1;
|
||||
} else if (ctx->options & DHCPCD_LAUNCHER)
|
||||
} else if (ctx->options & DHCPCD_LAUNCHER ||
|
||||
((!(ctx->options & DHCPCD_DAEMONISE)) &&
|
||||
ctx->options & DHCPCD_MASTER))
|
||||
logdebugx("sandbox: %s", sandbox);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user