]> git.ipfire.org Git - thirdparty/systemd.git/commit
hibernate-util: report no available swap as no enough swap space
authorMike Yuan <me@yhndnzj.com>
Fri, 17 Nov 2023 14:17:06 +0000 (22:17 +0800)
committerMike Yuan <me@yhndnzj.com>
Sat, 18 Nov 2023 12:15:41 +0000 (20:15 +0800)
commit500ec22d095cb59ea8079c397e8504661a9381a2
treeb938f5b3fba45b0625235af34786ddb5d2ef1251
parentfbf946ce22ef778bf6bf04c117b75c9c63ac7e66
hibernate-util: report no available swap as no enough swap space

Otherwise, ENOENT or ENXIO may be directly returned as error through
bus.

Should help to generate clearer error message for #30083.
src/shared/hibernate-util.c