We used to use plymouth:debug to enable debugging in the
plymouth daemon, and changed it to plymouth.debug to be more
consistent with other users of the kernel command line.
We neglected to update the client to support the new format
though. This commit does that.
if (get_kernel_command_line (&state))
{
- if (strstr (state.kernel_command_line, "plymouth:debug") != NULL
+ if ((strstr (state.kernel_command_line, "plymouth.debug") != NULL ||
+ strstr (state.kernel_command_line, "plymouth:debug") != NULL)
&& !ply_is_tracing ())
ply_toggle_tracing ();
}