diff --git a/src/client/plymouth.c b/src/client/plymouth.c index 84fe6e30..72574180 100644 --- a/src/client/plymouth.c +++ b/src/client/plymouth.c @@ -773,6 +773,7 @@ get_kernel_command_line (state_t *state) if (read (fd, state->kernel_command_line, sizeof (state->kernel_command_line)) < 0) { ply_trace ("couldn't read it: %m"); + close (fd); return false; }