From: Ray Strode Date: Thu, 25 Sep 2008 02:39:11 +0000 (-0400) Subject: Ignore extra calls to --show-splash X-Git-Tag: 0.6.0~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ec380a44e58c7f875dddfc1b5b68563c22ee338;p=thirdparty%2Fplymouth.git Ignore extra calls to --show-splash --- diff --git a/src/ply-boot-splash.c b/src/ply-boot-splash.c index 7f606448..844116a0 100644 --- a/src/ply-boot-splash.c +++ b/src/ply-boot-splash.c @@ -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)) {