]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/exec-invoke: use RET_NERRNO to avoid clobbering errno
authorMike Yuan <me@yhndnzj.com>
Wed, 31 Dec 2025 18:21:13 +0000 (19:21 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 31 Dec 2025 18:32:58 +0000 (19:32 +0100)
commitd7bc1e3be9758395f7a119138b5bba79aaba70c8
treecb4feb902c0a0e4433d3b526221a984036d9b774
parentf5530c10b87c465db44dc1d562872bd31fa5f212
core/exec-invoke: use RET_NERRNO to avoid clobbering errno

Follow-up for 72ce1046e8aa872af8edcfba407e6f0489662fda

string_table_lookup_to_string_fallback() might interfere
with errno, hence store it in r first.
src/core/exec-invoke.c