Before it wasn't ever getting set, causing crashes with --debug
in some cases.
debug_buffer_path = path;
}
- if (debug_buffer_path == NULL)
- debug_buffer_path = strdup (PLYMOUTH_LOG_DIRECTORY "/plymouth-debug.log");
-
if (debug_buffer != NULL)
debug_buffer = ply_buffer_new ();
if (debug_buffer != NULL)
{
+ if (debug_buffer_path == NULL)
+ debug_buffer_path = strdup (PLYMOUTH_LOG_DIRECTORY "/plymouth-debug.log");
+
ply_logger_add_filter (ply_logger_get_error_default (),
(ply_logger_filter_handler_t)
on_error_message,