]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: Correctly switch back to text mode if the splash is requested, but never shown
authornerdopolis <bluescreen_avenger@verizon.net>
Tue, 20 Aug 2024 22:53:33 +0000 (18:53 -0400)
committernerdopolis <bluescreen_avenger@verizon.net>
Tue, 20 Aug 2024 22:53:33 +0000 (18:53 -0400)
Co-authored-by: filip-hejsek
Suggested-by: filip-hejsek
src/main.c

index ee6f38296a4d6fc698da922e00f4f4f0035d835d..e200c262eee9e6e60e68a73275b22a831bb71dbc 100644 (file)
@@ -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);
         }
 }