core/service: show correct restart usec for services in SERVICE_AUTO_RESTART_QUEUED
authorMike Yuan <me@yhndnzj.com>
Mon, 3 Jul 2023 14:32:36 +0000 (22:32 +0800)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Jul 2023 15:31:25 +0000 (17:31 +0200)
commitba5e342c0ebc0bfc9036aa70a2009d1601561167
tree9df6f76a3253335ffd85f00cf2eebbdfc8b3c153
parentf4b24db7c3285bd333b3dd80eab21303b6d704ed
core/service: show correct restart usec for services in SERVICE_AUTO_RESTART_QUEUED

Follow-up for #28215

We can now correctly distinguish enqueued auto-restarts
from those that are still pending. Let's take advantage
of that.
src/core/service.c