From: nerdopolis Date: Tue, 20 Aug 2024 22:53:33 +0000 (-0400) Subject: main: Correctly switch back to text mode if the splash is requested, but never shown X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e206268df99d28e9fb3d3cf8379a553abb05af0;p=thirdparty%2Fplymouth.git main: Correctly switch back to text mode if the splash is requested, but never shown Co-authored-by: filip-hejsek Suggested-by: filip-hejsek --- diff --git a/src/main.c b/src/main.c index ee6f3829..e200c262 100644 --- a/src/main.c +++ b/src/main.c @@ -1470,6 +1470,10 @@ on_quit (state_t *state, state->splash_is_becoming_idle = true; } } else { + if (!state->should_retain_splash) { + hide_splash (state); + } + quit_splash (state); quit_program (state); } }