]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
core: Allow to configure execute_directories execution behavior
authorMatthias Klumpp <matthias@tenstral.net>
Sun, 9 Sep 2018 01:18:45 +0000 (03:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Feb 2019 15:16:02 +0000 (16:16 +0100)
commit4b05f0c9d9f6df4e0dab518f8e1ae537bf948f92
treecf8d18410cd148191d951b8f7e60006590011166
parentbde06abd4f3febc149bf137ca68e4abaa2975b4d
core: Allow to configure execute_directories execution behavior

This adds a new bitfield to `execute_directories()` which allows to
configure whether to ignore non-zero exit statuses of binaries run and
whether to allow parallel execution of commands.
In case errors are not ignored, the exit status of the failed script
will now be returned for error reposrting purposes or other further
future use.
src/core/manager.c
src/core/shutdown.c
src/shared/exec-util.c
src/shared/exec-util.h
src/sleep/sleep.c
src/test/test-exec-util.c