fsckd: make use of safe_close()'s return value

This commit is contained in:
Lennart Poettering 2015-03-09 18:16:20 +01:00
parent b481de3b22
commit c011cc2669

View file

@ -122,8 +122,7 @@ static void remove_client(Client **first, Client *item) {
}
static void on_plymouth_disconnect(Manager *m) {
safe_close(m->plymouth_fd);
m->plymouth_fd = -1;
m->plymouth_fd = safe_close(m->plymouth_fd);
m->plymouth_cancel_sent = false;
}