summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-03-27 17:59:43 +0100
committerHans de Goede <hdegoede@redhat.com>2021-03-27 17:59:43 +0100
commitcf1ca1945cd6714755aea56855d53051d1af215e (patch)
treec37f7608b2f74ea41c1c330e041848af63c5c3dd
parent8a3c9bbf24ce61c72364ae6e6394e5efe6834758 (diff)
parente733f2b41dc5dcd815a654e6cef2fc1eb367069b (diff)
Merge branch 'gportay/plymouth-do-not-close-vt-on-show-hide-splash'
main: Retain splash on on_show_splash() and on_hide_splash() https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/127
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index ab614ca1..0ad34fc4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -919,6 +919,7 @@ on_show_splash (state_t *state)
if (plymouth_should_ignore_show_splash_calls (state)) {
ply_trace ("show splash called while ignoring show splash calls");
+ state->should_retain_splash = true;
dump_details_and_quit_splash (state);
return;
}
@@ -1173,6 +1174,7 @@ on_hide_splash (state_t *state)
return;
ply_trace ("hiding boot splash");
+ state->should_retain_splash = true;
dump_details_and_quit_splash (state);
}