summaryrefslogtreecommitdiff
path: root/src/core/path.h
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-10-18 14:17:02 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-11-03 20:25:14 +0000
commit12ab94a1e4961a39c32efb60b71866ab588d3ea2 (patch)
tree4d4a316d5e2ec0dbccbc54a6c38a604f980718dc /src/core/path.h
parent7454acd73f4197600ca440a74583aba804d9af30 (diff)
downloadsystemd-12ab94a1e4961a39c32efb60b71866ab588d3ea2.tar.gz
core: Propagate condition failed state to triggering units.
Alternative to https://github.com/systemd/systemd/pull/20531. Whenever a service triggered by another unit fails condition checks, stop the triggering unit to prevent systemd busy looping trying to start the triggered unit.
Diffstat (limited to 'src/core/path.h')
-rw-r--r--src/core/path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/path.h b/src/core/path.h
index 66ae857dc4..973cd594a6 100644
--- a/src/core/path.h
+++ b/src/core/path.h
@@ -46,6 +46,7 @@ typedef enum PathResult {
PATH_FAILURE_RESOURCES,
PATH_FAILURE_START_LIMIT_HIT,
PATH_FAILURE_UNIT_START_LIMIT_HIT,
+ PATH_FAILURE_UNIT_CONDITION_FAILED,
_PATH_RESULT_MAX,
_PATH_RESULT_INVALID = -EINVAL,
} PathResult;