summaryrefslogtreecommitdiffstats
path: root/src/shared/exec-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-03-16 03:34:14 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-03-17 12:38:15 +0100
commit6ad9af0b1356ac52db36a21088b553e8eeb9b396 (patch)
tree7deac1a4aa5e588a5239ff6afa253fad5bf02481 /src/shared/exec-util.h
parentexec-util: extract the core logic of execute_directories() as execute_strv() (diff)
downloadsystemd-6ad9af0b1356ac52db36a21088b553e8eeb9b396.tar.xz
systemd-6ad9af0b1356ac52db36a21088b553e8eeb9b396.zip
exec-util: introduce EXEC_DIR_SKIP_REMAINING flag
Will be used in later commits.
Diffstat (limited to '')
-rw-r--r--src/shared/exec-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/exec-util.h b/src/shared/exec-util.h
index a18c108e1b..91dbe3f3b4 100644
--- a/src/shared/exec-util.h
+++ b/src/shared/exec-util.h
@@ -19,6 +19,7 @@ typedef enum {
EXEC_DIR_PARALLEL = 1 << 0, /* Execute scripts in parallel, if possible */
EXEC_DIR_IGNORE_ERRORS = 1 << 1, /* Ignore non-zero exit status of scripts */
EXEC_DIR_SET_SYSTEMD_EXEC_PID = 1 << 2, /* Set $SYSTEMD_EXEC_PID environment variable */
+ EXEC_DIR_SKIP_REMAINING = 1 << 3, /* Ignore remaining executions when one exit with 77. */
} ExecDirFlags;
typedef enum ExecCommandFlags {