Don't abort if no splash when root is mounted

This commit is contained in:
Ray Strode 2008-11-10 11:52:59 -05:00
parent 218064c122
commit e66b42a4c4

View file

@ -165,7 +165,8 @@ on_newroot (state_t *state,
chroot(".");
chdir("/");
ply_progress_load_cache (state->progress);
ply_boot_splash_root_mounted (state->boot_splash);
if (state->boot_splash != NULL)
ply_boot_splash_root_mounted (state->boot_splash);
}
static void