From: William Jon McCann Date: Thu, 26 Feb 2009 05:47:00 +0000 (-0500) Subject: fix the trace messages when enabling/disabling logging X-Git-Tag: 0.7.0~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46239affe6fed05db551253576088dd08d91d9b;p=thirdparty%2Fplymouth.git fix the trace messages when enabling/disabling logging The sense of the messages was reversed. --- diff --git a/src/main.c b/src/main.c index 566aaec3..9685c3a3 100644 --- a/src/main.c +++ b/src/main.c @@ -1083,11 +1083,14 @@ check_logging (state_t *state) || (strstr (state->kernel_command_line, "plymouth:nolog ") != NULL) || (strstr (state->kernel_command_line, " plymouth:nolog") != NULL)) { - ply_trace ("logging should be enabled!"); + ply_trace ("logging won't be enabled!"); state->no_boot_log = true; } else - ply_trace ("logging shouldn't be enabled!"); + { + ply_trace ("logging will be enabled!"); + state->no_boot_log = false; + } } static void