core/dbus-manager: refuse SoftReboot() for user managers
authorMike Yuan <me@yhndnzj.com>
Tue, 2 Jul 2024 16:08:06 +0000 (18:08 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 3 Jul 2024 08:11:24 +0000 (10:11 +0200)
commit236cd4854657745e1a59b224a191a232a476527e
tree487c56d4af370a231000016da9ce7c2ef992126b
parent541aadff9778e0817da16f1b34d2437b1bb22fde
core/dbus-manager: refuse SoftReboot() for user managers

Otherwise, busctl --user call ... SoftReboot results in
user manager broadcasting signal and initiating soft-reboot...
src/core/dbus-manager.c