diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-14 21:57:10 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-14 23:48:20 +0100 |
commit | 57339f47f17b0268f2d05b5e8adde1b1d842fa48 (patch) | |
tree | fdfca181ab014b51bf8229e964ae7fba802667fb /src/unit.c | |
parent | 761163046260b42c0bed075c17d43e0e6c3dd3a4 (diff) |
job: make it possible to wait for devices to be unplugged
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index 410ff9f607..a619727f96 100644 --- a/src/unit.c +++ b/src/unit.c @@ -1386,9 +1386,9 @@ bool unit_job_is_applicable(Unit *u, JobType j) { case JOB_VERIFY_ACTIVE: case JOB_START: + case JOB_STOP: return true; - case JOB_STOP: case JOB_RESTART: case JOB_TRY_RESTART: return unit_can_start(u); |