diff options
author | Ray Strode <rstrode@redhat.com> | 2008-06-09 16:42:03 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-06-09 16:42:03 -0400 |
commit | 16418b38ea91bd26302297f0fb1bfe68b5ce74c7 (patch) | |
tree | d2bc277a0fb475294519896e86f65330bf6dd256 | |
parent | 6287646e2465df8a365ab913c46ee22fce5cd3c5 (diff) | |
download | plymouth-16418b38ea91bd26302297f0fb1bfe68b5ce74c7.tar.gz plymouth-16418b38ea91bd26302297f0fb1bfe68b5ce74c7.tar.xz plymouth-16418b38ea91bd26302297f0fb1bfe68b5ce74c7.zip |
Don't try to close session on_quit if it wasn't ever opened
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 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); |