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.h | |
parent | f80781eaf9f927d7b4d5e66116e3f3a4242e6fa1 (diff) |
job: fix deserialization of jobs: do not ignore ordering
Diffstat (limited to 'src/job.h')
-rw-r--r-- | src/job.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -64,10 +64,11 @@ enum JobState { }; enum JobMode { - JOB_FAIL, - JOB_REPLACE, - JOB_ISOLATE, - JOB_IGNORE_DEPENDENCIES, + JOB_FAIL, /* Fail if a conflicting job is already queued */ + JOB_REPLACE, /* Replace an existing conflicting job */ + JOB_ISOLATE, /* Start a unit, and stop all others */ + JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */ + JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */ _JOB_MODE_MAX, _JOB_MODE_INVALID = -1 }; @@ -130,7 +131,7 @@ struct Job { bool override:1; bool in_dbus_queue:1; bool sent_dbus_new_signal:1; - bool ignore_deps:1; + bool ignore_order:1; }; Job* job_new(Manager *m, JobType type, Unit *unit); |