diff options
Diffstat (limited to 'src/fsckd/fsckd.c')
-rw-r--r-- | src/fsckd/fsckd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fsckd/fsckd.c b/src/fsckd/fsckd.c index 834476c14a..9522fd7b62 100644 --- a/src/fsckd/fsckd.c +++ b/src/fsckd/fsckd.c @@ -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; } |