summaryrefslogtreecommitdiff
path: root/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-13 04:51:38 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-13 04:51:38 +0200
commit9ea9a0c85c427397e1f1f4bb1f4d3192aab5987e (patch)
treee73bee020b5b21c0eb8d22a19677198e213286f4 /unit.c
parent7b683879838523032604a2a5a95142956f7b8a88 (diff)
unit: allow state change from running to restarting
Diffstat (limited to 'unit.c')
-rw-r--r--unit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/unit.c b/unit.c
index 7d570056b4..30ffd96311 100644
--- 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(!(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