diff options
Diffstat (limited to 'src/core/timer.c')
-rw-r--r-- | src/core/timer.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/timer.c b/src/core/timer.c index b22168fad5..a13b864741 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -598,11 +598,6 @@ static void timer_enter_running(Timer *t) { return; } - if (unit_has_failed_condition_or_assert(trigger)) { - timer_enter_dead(t, TIMER_FAILURE_UNIT_CONDITION_FAILED); - return; - } - r = manager_add_job(UNIT(t)->manager, JOB_START, trigger, JOB_REPLACE, NULL, &error, NULL); if (r < 0) goto fail; @@ -916,10 +911,9 @@ static const char* const timer_base_table[_TIMER_BASE_MAX] = { DEFINE_STRING_TABLE_LOOKUP(timer_base, TimerBase); static const char* const timer_result_table[_TIMER_RESULT_MAX] = { - [TIMER_SUCCESS] = "success", - [TIMER_FAILURE_RESOURCES] = "resources", - [TIMER_FAILURE_START_LIMIT_HIT] = "start-limit-hit", - [TIMER_FAILURE_UNIT_CONDITION_FAILED] = "unit-condition-failed", + [TIMER_SUCCESS] = "success", + [TIMER_FAILURE_RESOURCES] = "resources", + [TIMER_FAILURE_START_LIMIT_HIT] = "start-limit-hit", }; DEFINE_STRING_TABLE_LOOKUP(timer_result, TimerResult); |