fall back to text plugin if fedora-fade-in fails

This commit is contained in:
Ray Strode 2008-05-14 00:25:58 -04:00
parent 1c8114763f
commit 34b71dbfef

View file

@ -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");