]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-dbus.c
login: do not issue wall messages on local terminals for suspend and hibernate 23574/head
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 27 May 2022 11:47:23 +0000 (13:47 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Jun 2022 07:30:07 +0000 (09:30 +0200)
commitea74f39c24344eafc238d1c69155bd5aca5f2e08
tree5e0127c3c47ef776beb293338647162d1308bb67
parent51a2b575d751c257f2603f12fe9bb883014c37c1
login: do not issue wall messages on local terminals for suspend and hibernate

Fixes: #23520
[zjs: I added the comment and tweaked the patch a bit.

The call to reset_scheduled_shutdown() is moved down a bit to allow the
callback to have access to information about the operation being cancelled.
This all happens within the same function, so there should be no observable
change in behaviour.]
src/login/logind-dbus.c
src/login/logind-utmp.c