summaryrefslogtreecommitdiffstats
path: root/src/privsep.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-09-21 17:40:28 +0100
committerRoy Marples <roy@marples.name>2020-09-21 17:40:28 +0100
commit42e2923e68a05eaffc67e941feb90cc37fc24d14 (patch)
tree5aa810ad4be8541050e2e177cde1ac8862a4a2d8 /src/privsep.c
parentc6582a8a11e7ad99e2f0a935dd42879b03875a31 (diff)
downloaddhcpcd-42e2923e68a05eaffc67e941feb90cc37fc24d14.tar.xz
privsep: Don't log sandbox type twice
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 2c161e15..a7a17e92 100644
--- a/src/privsep.c
+++ b/src/privsep.c
@@ -555,7 +555,7 @@ ps_mastersandbox(struct dhcpcd_ctx *ctx, const char *_pledge)
}
logerr("%s: %s", __func__, sandbox);
return -1;
- } else
+ } else if (!forked)
logdebugx("sandbox: %s", sandbox);
return 0;
}