mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
execute: fix single character typo
Corrects: c413bb28df0996be99fd6b3f2335dfe8739d62fb Fixes: #17313
This commit is contained in:
parent
fd8f865c9f
commit
f5fa352f1e
@ -6348,7 +6348,7 @@ int exec_runtime_deserialize_one(Manager *m, const char *value, FDSet *fds) {
|
||||
r = safe_atoi(buf, &fdpair[1]);
|
||||
if (r < 0)
|
||||
return log_debug_errno(r, "Unable to parse exec-runtime specification netns-socket-1=%s: %m", buf);
|
||||
if (!fdset_contains(fds, fdpair[0]))
|
||||
if (!fdset_contains(fds, fdpair[1]))
|
||||
return log_debug_errno(SYNTHETIC_ERRNO(EBADF),
|
||||
"exec-runtime specification netns-socket-1= refers to unknown fd %d: %m", fdpair[1]);
|
||||
fdpair[1] = fdset_remove(fds, fdpair[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user