mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 15:58:20 +02:00
Don't try to close session on_quit if it wasn't ever opened
This commit is contained in:
parent
6287646e24
commit
16418b38ea
1 changed files with 2 additions and 1 deletions
|
|
@ -142,7 +142,8 @@ static void
|
|||
on_quit (state_t *state)
|
||||
{
|
||||
ply_trace ("time to quit, closing boot.log");
|
||||
ply_terminal_session_close_log (state->session);
|
||||
if (state->session != NULL)
|
||||
ply_terminal_session_close_log (state->session);
|
||||
ply_trace ("hiding splash");
|
||||
if (state->boot_splash != NULL)
|
||||
ply_boot_splash_hide (state->boot_splash);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue