]> git.ipfire.org Git - thirdparty/plymouth.git/commit
two-step: Remove ':' at the end of (passphrase) prompt below text entry field
authorHans de Goede <hansg@kernel.org>
Thu, 3 Jul 2025 10:23:57 +0000 (12:23 +0200)
committerHans de Goede <hansg@kernel.org>
Mon, 14 Jul 2025 08:46:34 +0000 (10:46 +0200)
commitb828874199f31e986280f93b2192d65a26f388a0
treeda21482772e900f2b8ed81f61243937b30739f03
parent5a4bda3de264372b8f53adb3f51e91cff927c57f
two-step: Remove ':' at the end of (passphrase) prompt below text entry field

When asked for e.g. a disk unlock passphrase, plymouth will be passed
a prompt like: "Please enter passphrase for disk $DISK:" the ':' in
the end makes sense when asking for this a text console, but this makes
less sense in the two-step disk unlock screen where the text is below
the passphrase entry field.

Strip any ':' char at the prompt's end on two-step's disk unlock screen.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2356893
Signed-off-by: Hans de Goede <hansg@kernel.org>
src/plugins/splash/two-step/plugin.c