fsckd: make use of safe_close()'s return value
This commit is contained in:
parent
b481de3b22
commit
c011cc2669
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue