]> git.ipfire.org Git - thirdparty/systemd.git/commit
sleep: make sure we clear HibernateLocation on all error paths 29740/head
authorMike Yuan <me@yhndnzj.com>
Thu, 26 Oct 2023 15:39:32 +0000 (23:39 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 27 Oct 2023 16:17:15 +0000 (00:17 +0800)
commitcc1c8d129f9b89fa033fdd907e704f93a98ab8e0
treec4119144175cd45dfc09b08cea507cc819dc18fc
parent122f6f1eaa4447449c7054793f6497eb9e4d03c6
sleep: make sure we clear HibernateLocation on all error paths

Also, let's say "sleep operation" rather than "sleep state",
the latter of which creates ambiguity with /sys/power/state.
src/sleep/sleep.c