diff --git a/src/main.c b/src/main.c index 71a07c88..e8714edf 100644 --- a/src/main.c +++ b/src/main.c @@ -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