]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Initialise state->showing_details at show_splash
authorCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 11 Mar 2009 10:53:07 +0000 (10:53 +0000)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 11 Mar 2009 10:53:07 +0000 (10:53 +0000)
Only effects us when running without rhgb in the kernel line, by having to
press Esc twice to get the default splash.

src/main.c

index 2a745f305e6c77a717fe97c2f904c82126bde427..4c88c840b1bbea0fdf7f1fcca47c12ba69cf41fe 100644 (file)
@@ -565,9 +565,15 @@ on_show_splash (state_t *state)
     }
 
   if (plymouth_should_show_default_splash (state))
-    show_default_splash (state);
+    {
+      show_default_splash (state);
+      state->showing_details = false;
+    }
   else
-    show_detailed_splash (state);
+    {
+      show_detailed_splash (state);
+      state->showing_details = true;
+    }
 }
 
 static void