]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
At exit do on_hide_splash not ply_boot_splash_hide
authorRay Strode <rstrode@redhat.com>
Mon, 20 Oct 2008 20:51:35 +0000 (16:51 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 20 Oct 2008 20:51:35 +0000 (16:51 -0400)
Calling just ply_boot_splash_hide meant that the
terminal wasn't getting reset properly causing
tty1 to misbehave.

src/main.c

index d37c1b01d725f39355c741b3dc258bda4c84fed2..f35178a3951b8072f10cc0265f324d9e3b3e4878 100644 (file)
@@ -373,7 +373,7 @@ on_quit (state_t *state,
   if (state->boot_splash != NULL)
     {
       if (!retain_splash)
-        ply_boot_splash_hide (state->boot_splash);
+        on_hide_splash (state);
       ply_boot_splash_free (state->boot_splash);
       state->boot_splash = NULL;
     }