summaryrefslogtreecommitdiffstats
path: root/src/core/timer.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-05-24 22:14:52 +0200
committerGitHub <noreply@github.com>2023-05-24 22:14:52 +0200
commit1f74369c2eb32cf2ec5b39c25d73cead313705ca (patch)
treec47899d121d89726207250f94ac4ac3ba1aa1e16 /src/core/timer.c
parentsystem-update-generator: drop pointless goto (diff)
parentcore: drop UnitNotifyFlags (diff)
downloadsystemd-1f74369c2eb32cf2ec5b39c25d73cead313705ca.tar.xz
systemd-1f74369c2eb32cf2ec5b39c25d73cead313705ca.zip
Merge pull request #27723 from YHNdnzj/service-restart-cleanup
core: get rid of unused Service.will_auto_restart logic
Diffstat (limited to 'src/core/timer.c')
-rw-r--r--src/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index 22cdb45d85..f6e6605507 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -298,7 +298,7 @@ static void timer_set_state(Timer *t, TimerState state) {
if (state != old_state)
log_unit_debug(UNIT(t), "Changed %s -> %s", timer_state_to_string(old_state), timer_state_to_string(state));
- unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], 0);
+ unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], /* reload_success = */ true);
}
static void timer_enter_waiting(Timer *t, bool time_change);