]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Ignore extra calls to --show-splash
authorRay Strode <rstrode@redhat.com>
Thu, 25 Sep 2008 02:39:11 +0000 (22:39 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 29 Sep 2008 03:40:26 +0000 (23:40 -0400)
src/ply-boot-splash.c

index 7f606448d331a4c4869bc60b4e09c735e2e4819c..844116a0f45e3a6f05ac895441d6141b8b623619 100644 (file)
@@ -159,6 +159,9 @@ ply_boot_splash_show (ply_boot_splash_t *splash)
   assert (splash->module_name != NULL);
   assert (splash->loop != NULL);
 
+  if (splash->is_shown)
+    return true;
+
   ply_trace ("trying to load %s", splash->module_name);
   if (!ply_boot_splash_load_plugin (splash))
     {