From 81a2b7ceda7100fbc0dd8ce423b9599e03656851 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 14 Feb 2010 22:43:08 +0100 Subject: execute: implement privilige dropping properly --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'socket.c') 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) -- cgit v1.2.3-54-g00ecf