Skip to content

Commit 32bb2e5

Browse files
committed
gui_functions: add newline after message telling user that automatic boot will happen unless interrupted
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent 3b22ae6 commit 32bb2e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

initrd/etc/gui_functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# continue with automatic boot, nonzero if user interrupted.
77
pause_automatic_boot()
88
{
9-
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -p \
10-
"Automatic boot in $CONFIG_AUTO_BOOT_TIMEOUT seconds unless interrupted by keypress... "; then
9+
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -r -p \
10+
$'Automatic boot in '"$CONFIG_AUTO_BOOT_TIMEOUT"$' seconds unless interrupted by keypress...\n'; then
1111
return 1 # Interrupt automatic boot
1212
fi
1313
return 0 # Continue with automatic boot

0 commit comments

Comments
 (0)