logind: slightly tweak error message about not enough swap for hibernation
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Sep 2023 08:41:50 +0000 (10:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Sep 2023 12:47:57 +0000 (14:47 +0200)
commit43cb0f3e46882500bc6d7866868456d7388f7437
tree307c2d8ba3eb1ef07075db1f5553e762b2e0f5a4
parent0959847af5a4ee5282eb95d500899e00e33677d6
logind: slightly tweak error message about not enough swap for hibernation

Let's tweak the message if not enough swap is around slightly: systems
might have plenty swap backed by incompatible storage (specifically:
swap files on btrfs), but we (currently) do not support hibernating to
that.

Hence let's say *suitable* swap space and talk about *compatibility* of
backing storage.

Hopefully this will make things a bit clearer to users.

Prompted by: #29189
src/login/logind-dbus.c