From: Ray Strode Date: Fri, 18 Sep 2009 20:08:27 +0000 (-0400) Subject: [main] Flip debug buffer conditional check X-Git-Tag: 0.7.2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e031f59b981e86ca30b6093f5cca18e5f62d19b2;p=thirdparty%2Fplymouth.git [main] Flip debug buffer conditional check It was inverted so we were never creating a debug buffer when plymouth:debug was put on the kernel command line. --- diff --git a/src/main.c b/src/main.c index 00a6f24b..610ee300 100644 --- a/src/main.c +++ b/src/main.c @@ -1127,7 +1127,7 @@ check_verbosity (state_t *state) debug_buffer_path = path; } - if (debug_buffer != NULL) + if (debug_buffer == NULL) debug_buffer = ply_buffer_new (); #ifdef LOG_TO_DEBUG_FILE