summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 755bc598da..402eeaf628 100644
--- a/socket.c
+++ b/socket.c
@@ -578,6 +578,7 @@ static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) {
argv,
&s->exec_context,
NULL, 0,
+ s->meta.manager->environment,
true,
true,
UNIT(s)->meta.manager->confirm_spawn,