]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/service: log the next restart usec only when we're arming timer
authorMike Yuan <me@yhndnzj.com>
Mon, 25 Sep 2023 15:23:29 +0000 (23:23 +0800)
committerMike Yuan <me@yhndnzj.com>
Tue, 26 Sep 2023 04:59:15 +0000 (12:59 +0800)
commitfe3d33c1400c97b2d4e49cc953479002b327e5a4
tree625433249c9612259621096c19424b5f90836367
parent17811767687fcee3b96333f724c5cdf3df11ae86
core/service: log the next restart usec only when we're arming timer

service_restart_usec_next() is also called when querying
'RestartUSecNext' dbus property. Let's avoid the redundant
logging triggered every time user does a 'systemctl status'.
src/core/service.c