]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: don't unredirect /dev/console from on_show_splash
authorRay Strode <rstrode@redhat.com>
Tue, 3 Dec 2013 21:51:38 +0000 (16:51 -0500)
committerRay Strode <rstrode@redhat.com>
Thu, 5 Dec 2013 18:11:16 +0000 (13:11 -0500)
The code that's there, doesn't make much sense, so this
commit removes it.

src/main.c

index 283833cd9d8aeb66f7dcba8b1cc7e0138a86ba7d..fb0b90e096b0c7ff6f950e036afdb149239a1090 100644 (file)
@@ -949,12 +949,6 @@ on_show_splash (state_t *state)
   if (!state->is_attached && state->should_be_attached && has_display)
     attach_to_running_session (state);
 
-  if (!has_display)
-    {
-      ply_trace ("no open seats");
-      detach_from_running_session (state);
-    }
-
   if (plymouth_should_show_default_splash (state))
     {
       show_default_splash (state);