From 34b71dbfef2af8b26bf0329e25440828fa83ca38 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 14 May 2008 00:25:58 -0400 Subject: fall back to text plugin if fedora-fade-in fails --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 0877502..01d82d8 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"); -- cgit