diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-10-14 16:21:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-10-14 16:41:37 +0200 |
commit | f5fa352f1ef5a9cc05df87bc282b13a24f9d5398 (patch) | |
tree | f5ec072f1c5123ef2fac953131d489fa6295bbe0 /src | |
parent | Merge pull request #17342 from yuwata/network-dhcp-ipv4-acd-fixes (diff) | |
download | systemd-f5fa352f1ef5a9cc05df87bc282b13a24f9d5398.tar.xz systemd-f5fa352f1ef5a9cc05df87bc282b13a24f9d5398.zip |
execute: fix single character typo
Corrects: c413bb28df0996be99fd6b3f2335dfe8739d62fb
Fixes: #17313
Diffstat (limited to 'src')
-rw-r--r-- | src/core/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index d21de8c41e..e51e4f26af 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -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]); |