]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-dbus.c
hibernate-util: check 'noresume' before reading resume setting
authorMike Yuan <me@yhndnzj.com>
Sat, 6 Apr 2024 18:59:07 +0000 (02:59 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 7 Apr 2024 22:28:56 +0000 (23:28 +0100)
commitb8b0704ce97842c47a4406d262f07c314edef034
tree339391d75e284f3b17201091df74ac88a1204266
parent7a5edb07956841492b23a8a39a36f9286efd51ef
hibernate-util: check 'noresume' before reading resume setting

Also hibernation_is_safe() should really take this
into consideration too.
src/login/logind-dbus.c
src/shared/hibernate-util.c