summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-02 21:52:51 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-02 22:12:02 -0500
commit6a371e23ee0e47827fb4e3aa469ed84da2599304 (patch)
tree3ce1c39507ad8a9a20a19f52ebb58e424ba27f6b /src/core/job.h
parentc71ecee578fa2d89d13f11edd7b27001f663bbb5 (diff)
systemd: treat reload failure as failure
systemctl reload "suceeded" on stopped units, but it is documented to fail in this case. https://bugzilla.redhat.com/show_bug.cgi?id=1036845
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/job.h b/src/core/job.h
index c23a38029d..0500e1208b 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -97,7 +97,8 @@ enum JobResult {
JOB_TIMEOUT, /* JobTimeout elapsed */
JOB_FAILED, /* Job failed */
JOB_DEPENDENCY, /* A required dependency job did not result in JOB_DONE */
- JOB_SKIPPED, /* JOB_RELOAD of inactive unit; negative result of JOB_VERIFY_ACTIVE */
+ JOB_SKIPPED, /* Negative result of JOB_VERIFY_ACTIVE */
+ JOB_INVALID, /* JOB_RELOAD of inactive unit */
_JOB_RESULT_MAX,
_JOB_RESULT_INVALID = -1
};