summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-14 00:25:58 -0400
committerRay Strode <rstrode@redhat.com>2008-05-14 00:25:58 -0400
commit34b71dbfef2af8b26bf0329e25440828fa83ca38 (patch)
tree8c738a6ee1c6e793c7ad6ebb75f66b2b98c72bbf /src
parent1c8114763f5afd89a10c69b1e5c55f7aecbfd967 (diff)
downloadplymouth-34b71dbfef2af8b26bf0329e25440828fa83ca38.tar.gz
plymouth-34b71dbfef2af8b26bf0329e25440828fa83ca38.tar.xz
plymouth-34b71dbfef2af8b26bf0329e25440828fa83ca38.zip
fall back to text plugin if fedora-fade-in fails
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0877502..01d82d8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -407,6 +407,12 @@ main (int argc,
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");
return EX_UNAVAILABLE;
}