systemd v226
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJV7tXyAAoJEHpPOgnr3v8mRNUP/iks7lzDvQ50dG8u+k8X92yN
+FjkVxwKGvKb0caFjWGoP+tYOtuHJBG2l4XEIDlvCfv6ImEjC1uDCgsm4KUz5wAh
0BLd2zoFL4GKrCSwJbIC5W8GjO+lrFaJBqqQxZDRU1joG9xGPeCNxCspIrfEvATv
IWdrM5zTqCgSPUA4k9+xalr5fxX3VowML6iqBOIgaOuqUV1UFdHYBymrEM/q3ibF
2BQFEXa4gnDVd50Hzs6FMetEFjLY7g2n3YspR1vsUX1iS2x+hGiq8W9hr6FV1I89
CPpyqiALqBzXTzOpUh0xqkq1sAVueR43W/m/WO7LFsNnfT4+sY+1tbuhyFdzwsrE
ZAUQ1ludjj6JiKQ0vcjZ5mBe4vOcmP4O/vlvrtV5XC9bQRsRiujIBvAtkUGk1jUL
OQ7hdERp1JvFxOIHgplYVQnwJOsDmc2kAZ/B21wh2DdfI45Ovo4pcptuveeNyZD+
rylwKyDDc/IyLPLyPo0wHsHeXRJEFy0Tw2gVuZGuweC+INMRTh7rVg8IOh/y0Z2b
HkKKI3wVApfrJSGsyfvl4CqphIunKEFmP/Je9TAhPp+GrCIat/kxDzU0F8kBRs6B
Nv3dklirXRqavwdj81tNIkLgWmRzht8cfZTRRYmcP64+XdLJkE4r4LNaL7K1nkGO
HPqFY6ZHv7YrCPWAHVi4
=5wF0
-----END PGP SIGNATURE-----
sd-login: fix sd_seat_get_active() to return ENODATA
This seems to be an oversight from:
707b66c66381c899d7ef640e158ffdd5bcff4deb
We have to return ENODATA instead of ENOENT if a requested entry is
non-present. Also fix the call-site in udev to check for these errors.
2 files changed