X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=socket.c;h=aec0d392a683e531f674514b8a904e55d2b524e2;hp=b979e58d390fb9f18e0a3e1cce45d2f45ac97ee9;hb=c85cf06d73fce98ca2680eae5d32418c30e22b4c;hpb=b5a0699f0bb8b1d1ae55bb0d86f51dfe2783821b diff --git a/socket.c b/socket.c index b979e58d3..aec0d392a 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)