]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Only tell gdm to keep vt if told to retain splash
authorRay Strode <rstrode@redhat.com>
Mon, 17 Nov 2008 15:47:08 +0000 (10:47 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 17 Nov 2008 15:47:08 +0000 (10:47 -0500)
See http://bugzilla.redhat.com/471785

src/main.c

index 03ba2390ac465c371cb45bc5aba72bd274d83bb2..6afffc43ad2abac3a1c618a506a1ba5b6ab2808b 100644 (file)
@@ -448,7 +448,10 @@ on_quit (state_t *state,
   ply_event_loop_exit (state->loop, 0);
 
 #ifdef PLY_ENABLE_GDM_TRANSITION
-  tell_gdm_to_transition ();
+  if (retain_splash)
+    {
+      tell_gdm_to_transition ();
+    }
 #endif
 }