diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:43:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:43:08 +0100 |
commit | 81a2b7ceda7100fbc0dd8ce423b9599e03656851 (patch) | |
tree | 4478e9ee682e0aa945aae68d40fd81b3918de99f /socket.c | |
parent | e14140036227901bd64833559bab70c111c651a5 (diff) |
execute: implement privilige dropping properly
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |