diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:09:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:09:33 +0200 |
commit | cebe0d41e4d5b3fdd9d521116cc029bcb819c90d (patch) | |
tree | 22c43591a973b1653313aa437b87ede51da0ab54 /src/job.c | |
parent | f80781eaf9f927d7b4d5e66116e3f3a4242e6fa1 (diff) |
job: fix deserialization of jobs: do not ignore ordering
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |