]> git.ipfire.org Git - thirdparty/systemd.git/commit
login: use _cleanup_ to simplify error handling
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 May 2019 08:45:13 +0000 (10:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 May 2019 13:17:24 +0000 (15:17 +0200)
commit92c605796de9de3632b86228232a52b3076ec14c
treec24a67f8ea2930ae7e93f756780e1c3841906d22
parent0f6519d43c37d5a855a6c9be52148908c15c3c9d
login: use _cleanup_ to simplify error handling

When logging about a device, try to include the path to it everywhere in
messages. Also fixes an invalid assert(fd).

Inspired by b2774a3ae692113e1f47a336a6c09bac9cfb49ad.
src/login/logind-button.c