From: Ray Strode Date: Fri, 7 Feb 2014 21:40:07 +0000 (-0500) Subject: client: support plymouth.debug on kernel command line X-Git-Tag: 0.9.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57bb3dc1e228029135020992af33561de4930e8;p=thirdparty%2Fplymouth.git client: support plymouth.debug on kernel command line 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. --- diff --git a/src/client/plymouth.c b/src/client/plymouth.c index e00208d1..b22e90cf 100644 --- a/src/client/plymouth.c +++ b/src/client/plymouth.c @@ -1173,7 +1173,8 @@ main (int argc, 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 (); }