The splash plugins don't create a console viewer if
`plymouth.prefer-fbcon` is on the kernel command line, but expect it
to be not NULL regardless.
This commit corrects that misconception.
{
ply_boot_splash_plugin_t *plugin = view->plugin;
+ if (view->console_viewer == NULL)
+ return;
+
if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
ply_console_viewer_print (view->console_viewer, "\n");
{
ply_boot_splash_plugin_t *plugin = view->plugin;
+ if (view->console_viewer == NULL)
+ return;
+
if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
ply_console_viewer_print (view->console_viewer, "\n");
{
ply_boot_splash_plugin_t *plugin = view->plugin;
+ if (view->console_viewer == NULL)
+ return;
+
if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
ply_console_viewer_print (view->console_viewer, "\n");