chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
job: fix deserialization of jobs: do not ignore ordering
[elogind.git]
/
src
/
job.c
diff --git
a/src/job.c
b/src/job.c
index f5d3ff8a3a834f441d4633a40433944af2404e44..a3be7becaf5e41e1e90d894e6cb5858dfb28ca08 100644
(file)
--- 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 */
* type. */
/* First check if there is an override */
- if (j->ignore_
deps
)
+ if (j->ignore_
order
)
return true;
if (j->type == JOB_START ||
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_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);
};
DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode);