chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: fix assertion failure in checking a transaction with a JOB_NOP
[elogind.git]
/
src
/
core
/
job.c
diff --git
a/src/core/job.c
b/src/core/job.c
index 51d15811b51cc621d35438572e11773b4ca10812..1411603e0b6d51fa6bd8402ee7b9b817ac2bbe4e 100644
(file)
--- a/
src/core/job.c
+++ b/
src/core/job.c
@@
-352,6
+352,9
@@
bool job_type_is_redundant(JobType a, UnitActiveState b) {
return
b == UNIT_ACTIVATING;
+ case JOB_NOP:
+ return true;
+
default:
assert_not_reached("Invalid job type");
}