summaryrefslogtreecommitdiff
path: root/src/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-06 19:09:33 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-06 19:09:33 +0200
commitcebe0d41e4d5b3fdd9d521116cc029bcb819c90d (patch)
tree22c43591a973b1653313aa437b87ede51da0ab54 /src/job.c
parentf80781eaf9f927d7b4d5e66116e3f3a4242e6fa1 (diff)
job: fix deserialization of jobs: do not ignore ordering
Diffstat (limited to 'src/job.c')
-rw-r--r--src/job.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/job.c b/src/job.c
index f5d3ff8a3a..a3be7becaf 100644
--- a/src/job.c
+++ b/src/job.c
@@ -313,7 +313,7 @@ bool job_is_runnable(Job *j) {
* type. */
/* First check if there is an override */
- if (j->ignore_deps)
+ if (j->ignore_order)
return true;
if (j->type == JOB_START ||
@@ -694,7 +694,8 @@ static const char* const job_mode_table[_JOB_MODE_MAX] = {
[JOB_FAIL] = "fail",
[JOB_REPLACE] = "replace",
[JOB_ISOLATE] = "isolate",
- [JOB_IGNORE_DEPENDENCIES] = "ignore-dependencies"
+ [JOB_IGNORE_DEPENDENCIES] = "ignore-dependencies",
+ [JOB_IGNORE_REQUIREMENTS] = "ignore-requirements"
};
DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode);