summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 22:43:08 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 22:43:08 +0100
commit81a2b7ceda7100fbc0dd8ce423b9599e03656851 (patch)
tree4478e9ee682e0aa945aae68d40fd81b3918de99f /socket.c
parente14140036227901bd64833559bab70c111c651a5 (diff)
execute: implement privilige dropping properly
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index b979e58d39..aec0d392a6 100644
--- a/socket.c
+++ b/socket.c
@@ -394,7 +394,7 @@ static int socket_spawn(Socket *s, ExecCommand *c, bool timeout, pid_t *_pid) {
} else
unit_unwatch_timer(UNIT(s), &s->timer_watch);
- if ((r = exec_spawn(c, &s->exec_context, NULL, 0, &pid)) < 0)
+ if ((r = exec_spawn(c, &s->exec_context, NULL, 0, true, true, &pid)) < 0)
goto fail;
if ((r = unit_watch_pid(UNIT(s), pid)) < 0)