diff options
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/timer.c | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -64,8 +64,6 @@ * parse early boot time env var from dracut -* add switch to disable pull in retroactively - * cryptsetup * add seperate man page for [Install] settings diff --git a/src/timer.c b/src/timer.c index b01944ccdb..627a360fe6 100644 --- a/src/timer.c +++ b/src/timer.c @@ -161,9 +161,7 @@ static int timer_coldplug(Unit *u) { if (t->deserialized_state != t->state) { - if (t->deserialized_state == TIMER_WAITING || - t->deserialized_state == TIMER_RUNNING || - t->deserialized_state == TIMER_ELAPSED) + if (t->deserialized_state == TIMER_WAITING) timer_enter_waiting(t, false); else timer_set_state(t, t->deserialized_state); |