summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 04:09:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 04:09:17 +0200
commit1e3ad081efda42dd1cc737ce7e98be8889c78340 (patch)
tree95e2dab095999baa69ad62d413e72b318daf8760 /src/socket.c
parent398ef8ba0266cca453d90a90b3a2aa1caa44189f (diff)
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c
index b8643d9f43..ee75de04d6 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -822,6 +822,7 @@ static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) {
s->meta.manager->environment,
true,
true,
+ true,
s->meta.manager->confirm_spawn,
s->meta.cgroup_bondings,
&pid);