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: make it possible to wait for devices to be unplugged
[elogind.git]
/
src
/
unit.c
diff --git
a/src/unit.c
b/src/unit.c
index 410ff9f6071c8faca98a0219fbb5a991d0eba58e..a619727f9640b225e0723774cc01b547cadbfd70 100644
(file)
--- 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);