]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
fix the trace messages when enabling/disabling logging
authorWilliam Jon McCann <jmccann@redhat.com>
Thu, 26 Feb 2009 05:47:00 +0000 (00:47 -0500)
committerWilliam Jon McCann <jmccann@redhat.com>
Thu, 26 Feb 2009 14:41:58 +0000 (09:41 -0500)
The sense of the messages was reversed.

src/main.c

index 566aaec364c4a4410e57159894ca44bfd539e0e3..9685c3a35721ce6a935aa0666b3714d712e38968 100644 (file)
@@ -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