chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: add kernel option to enable confirm_spawn
[elogind.git]
/
unit.c
diff --git
a/unit.c
b/unit.c
index 7d570056b4a41da04bf1b335364a92de9baf6ac0..30ffd9631182d60fb7f2fd331426f8f0329147c6 100644
(file)
--- a/
unit.c
+++ b/
unit.c
@@
-850,8
+850,6
@@
void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) {
assert(u);
assert(os < _UNIT_ACTIVE_STATE_MAX);
assert(ns < _UNIT_ACTIVE_STATE_MAX);
assert(u);
assert(os < _UNIT_ACTIVE_STATE_MAX);
assert(ns < _UNIT_ACTIVE_STATE_MAX);
- assert(!(os == UNIT_ACTIVE && ns == UNIT_ACTIVATING));
- assert(!(os == UNIT_INACTIVE && ns == UNIT_DEACTIVATING));
/* Note that this is called for all low-level state changes,
* even if they might map to the same high-level
/* Note that this is called for all low-level state changes,
* even if they might map to the same high-level