From 32bb2e59eb2586abfafe130953cafc453842be5f Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Wed, 4 Sep 2024 14:43:28 -0400 Subject: [PATCH] gui_functions: add newline after message telling user that automatic boot will happen unless interrupted Signed-off-by: Thierry Laurion --- initrd/etc/gui_functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initrd/etc/gui_functions b/initrd/etc/gui_functions index 5b46acb5..38958b1a 100755 --- a/initrd/etc/gui_functions +++ b/initrd/etc/gui_functions @@ -6,8 +6,8 @@ # continue with automatic boot, nonzero if user interrupted. pause_automatic_boot() { - if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -p \ - "Automatic boot in $CONFIG_AUTO_BOOT_TIMEOUT seconds unless interrupted by keypress... "; then + if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -r -p \ + $'Automatic boot in '"$CONFIG_AUTO_BOOT_TIMEOUT"$' seconds unless interrupted by keypress...\n'; then return 1 # Interrupt automatic boot fi return 0 # Continue with automatic boot