core/job: add one more assertion

In this stage, the unit should not have installed job of the type.
This commit is contained in:
Yu Watanabe
2023-04-27 00:36:24 +09:00
parent c49dfd8911
commit 6ff134004d
+1
View File
@@ -237,6 +237,7 @@ Job* job_install(Job *j) {
}
/* Install the job */
assert(!*pj);
*pj = j;
j->installed = true;