diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-24 22:14:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 22:14:52 +0200 |
commit | 1f74369c2eb32cf2ec5b39c25d73cead313705ca (patch) | |
tree | c47899d121d89726207250f94ac4ac3ba1aa1e16 /src/core/timer.c | |
parent | system-update-generator: drop pointless goto (diff) | |
parent | core: drop UnitNotifyFlags (diff) | |
download | systemd-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.c | 2 |
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); |