mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 14:14:35 +00:00
socket: check return from exec_spawn
(cherry picked from commit cee288adf8)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
266eaa6b59
commit
ca5fd86c37
@@ -1249,6 +1249,8 @@ static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) {
|
||||
NULL,
|
||||
s->exec_runtime,
|
||||
&pid);
|
||||
if (r < 0)
|
||||
goto fail;
|
||||
|
||||
strv_free(argv);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user