summaryrefslogtreecommitdiffstats
path: root/src/privsep.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-11-04 14:18:48 +0000
committerRoy Marples <roy@marples.name>2020-11-04 14:18:48 +0000
commite9dfc2416bc5ff97166905cbb69e71dd2be6411a (patch)
treedf5dadc4500f91e4b559efb8cc82a8e4e23f44be /src/privsep.c
parentd5565ba4c5306332c2b6f00aef184579beb31e33 (diff)
downloaddhcpcd-e9dfc2416bc5ff97166905cbb69e71dd2be6411a.tar.xz
Add --noconfigure option
With this set dhcpcd will not configure anything on the host. The expectation is that a 3rd party script will instead.
Diffstat (limited to 'src/privsep.c')
-rw-r--r--src/privsep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep.c b/src/privsep.c
index 6e76902a..f43e7ef2 100644
--- a/src/privsep.c
+++ b/src/privsep.c
@@ -362,7 +362,7 @@ ps_dostart(struct dhcpcd_ctx *ctx,
return pid;
}
- ctx->options |= DHCPCD_UNPRIV | DHCPCD_FORKED;
+ ctx->options |= DHCPCD_FORKED;
if (ctx->fork_fd != -1) {
close(ctx->fork_fd);
ctx->fork_fd = -1;