chiark / gitweb /
core: fix assertion failure in checking a transaction with a JOB_NOP
[elogind.git] / src / core / job.c
index 51d15811b51cc621d35438572e11773b4ca10812..1411603e0b6d51fa6bd8402ee7b9b817ac2bbe4e 100644 (file)
@@ -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");
         }