]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/service: avoid duplicate unit_add_to_dbus_queue() call
authorMike Yuan <me@yhndnzj.com>
Sun, 19 Oct 2025 19:26:48 +0000 (21:26 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 4 Nov 2025 11:17:31 +0000 (12:17 +0100)
commit1b5a9a7d569a246c46537ba4bb2b5edc6463e784
tree597609c4f27bf4cd58647362175c9d1f572b0034
parent1b272d778a5e8a0ba30f422da4b2939912ef47f9
core/service: avoid duplicate unit_add_to_dbus_queue() call

If we're changing state anyways, service_set_state() -> unit_notify()
will take care of dbus signaling for us.
src/core/service.c