]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
gdm: don't do legacy gdm transition at shutdown
authorRay Strode <rstrode@redhat.com>
Tue, 29 Mar 2011 17:06:28 +0000 (13:06 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 29 Mar 2011 17:06:44 +0000 (13:06 -0400)
src/main.c

index 7c487fc7dc34bcfe848d548128a945be58eaf832..ab974124703ca6545cbd0084e0008562da110403 100644 (file)
@@ -938,7 +938,8 @@ quit_program (state_t *state)
     }
 
 #ifdef PLY_ENABLE_GDM_TRANSITION
-  if (state->should_retain_splash)
+  if (state->should_retain_splash &&
+      state->mode == PLY_BOOT_SPLASH_MODE_BOOT_UP)
     {
       tell_gdm_to_transition ();
     }