install stage 1: echo new line at the end of press_any_key and are_you_really_really_sure

master
BodgeMaster 2023-06-30 12:48:17 +02:00
parent 4beb8cfa4d
commit 49e67ac001
1 changed files with 2 additions and 0 deletions

View File

@ -5,11 +5,13 @@ LOGFILE=/tmp/void-usb-install-log
function press_any_key { function press_any_key {
echo "Press any key to continue or Ctrl+c to abort..." echo "Press any key to continue or Ctrl+c to abort..."
read -n1 DISCARD_ME read -n1 DISCARD_ME
echo ""
} }
function are_you_really_really_sure { function are_you_really_really_sure {
echo "Enter the following to continue: $1" echo "Enter the following to continue: $1"
read -p "> " DISCARD_ME read -p "> " DISCARD_ME
echo ""
if [ "$1" = "$DISCARD_ME" ]; then if [ "$1" = "$DISCARD_ME" ]; then
return 0 return 0
else else