From: Ray Strode Date: Wed, 14 May 2008 04:25:58 +0000 (-0400) Subject: fall back to text plugin if fedora-fade-in fails X-Git-Tag: 0.1.0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b71dbfef2af8b26bf0329e25440828fa83ca38;p=thirdparty%2Fplymouth.git fall back to text plugin if fedora-fade-in fails --- diff --git a/src/main.c b/src/main.c index 08775025..01d82d83 100644 --- a/src/main.c +++ b/src/main.c @@ -405,6 +405,12 @@ main (int argc, state.boot_splash = start_boot_splash (&state, PLYMOUTH_PLUGIN_PATH "fedora-fade-in.so"); + if (state.boot_splash == NULL) + { + state.boot_splash = start_boot_splash (&state, + PLYMOUTH_PLUGIN_PATH "text.so"); + } + if (state.boot_splash == NULL) { ply_error ("could not start boot splash: %m");