]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't abort if no splash when root is mounted
authorRay Strode <rstrode@redhat.com>
Mon, 10 Nov 2008 16:52:59 +0000 (11:52 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 10 Nov 2008 16:52:59 +0000 (11:52 -0500)
src/main.c

index 71a07c88ef189f9ea53c173566c955fc089435c4..e8714edffc38e22463f67ba426a29a56627e1e63 100644 (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