]> git.ipfire.org Git - thirdparty/systemd.git/commit
userdbctl: explicitly handle ESRCH/ENOLINK from userdb_all()
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Nov 2021 16:20:16 +0000 (17:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Nov 2021 20:40:30 +0000 (21:40 +0100)
commit0595ff1680e2f283a8223c142a24b0e5fd628274
tree866fdedc9c509816ce556b00d2a6d4a040d7a751
parente908961d2eba7adb335e7f36c37c39e2e96773d2
userdbctl: explicitly handle ESRCH/ENOLINK from userdb_all()

Similar in style to previous commit, let's handle these two errors
properly, i.e. as equivalent to no entries found. Let's debug log about
them, to make things either to deal with when debugging (after all
userdbctl to a large degree are debugging tools).
src/userdb/userdbctl.c