]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/exec-invoke: minor cleanup for apply_working_directory() error handling
authorMike Yuan <me@yhndnzj.com>
Mon, 18 Nov 2024 23:22:59 +0000 (00:22 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Nov 2024 14:08:34 +0000 (15:08 +0100)
commite70064370d46b553f70256da029e70201801bf04
tree7bb928d04116f26413ac250d21dda4a7e832e128
parentc6721db367243bdc4381c1390e8f3a7af5c4e70b
core/exec-invoke: minor cleanup for apply_working_directory() error handling

Assign exit_status at the same site where error log is emitted,
for readability.

(cherry picked from commit d911778877c18827c64e21cc98e86c31dff9a627)
src/core/exec-invoke.c