From: Scott James Remnant Date: Thu, 18 Mar 2010 20:31:12 +0000 (+0000) Subject: [main] Ignore --hide-splash while deactivated X-Git-Tag: 0.8.0~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cdaefc8f97db67f858a5ddf7e3cc425150fb275;p=thirdparty%2Fplymouth.git [main] Ignore --hide-splash while deactivated Since we ignore --show-splash, it makes no sense to process --hide-splash either; in theory this does nothing already because we won't have a boot_splash in our state - but that changes with future patches and it's worth being safe. --- diff --git a/src/main.c b/src/main.c index 21ffa0f6..339b0c02 100644 --- a/src/main.c +++ b/src/main.c @@ -667,6 +667,9 @@ dump_details_and_quit_splash (state_t *state) static void on_hide_splash (state_t *state) { + if (state->is_inactive) + return; + if (state->boot_splash == NULL) return;