]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: shutdown don't fallback on auth fail
authorLudwig Nussel <ludwig.nussel@suse.de>
Mon, 20 Dec 2021 17:05:50 +0000 (18:05 +0100)
committerLudwig Nussel <ludwig.nussel@suse.de>
Tue, 25 Jan 2022 16:43:13 +0000 (17:43 +0100)
commit38d55bf2641f345445cb4e6a5e5e808555591db2
treee367da67c0851fb7ead347fc68b72fd0d557b2c0
parent5ed73478e1b1560274038ef30ec6f89022b4d8f6
systemctl: shutdown don't fallback on auth fail

For shutdowns don't fall back to starting the target directly if talking
to logind failed with auth failure. That would just lead to another
polkit auth attempt.
src/systemctl/systemctl-compat-halt.c
src/systemctl/systemctl-logind.c
src/systemctl/systemctl-start-special.c