core,systemctl: refuse switching root to current root properly
authorMike Yuan <me@yhndnzj.com>
Fri, 25 Aug 2023 16:18:25 +0000 (00:18 +0800)
committerMike Yuan <me@yhndnzj.com>
Sat, 2 Sep 2023 07:56:24 +0000 (15:56 +0800)
commitb0c5f0e1f43a23e2cd658175e9c36335a7146c04
tree79627b4b5f5e4016a70aa7da2724e0f5ddd3e522
parentb63beb4d283438be2b0f5c62757ab0db7dee8d65
core,systemctl: refuse switching root to current root properly

Fixes #28970
src/core/dbus-manager.c
src/systemctl/systemctl-switch-root.c