From 79eae7fa688a1f879bbc80e1b00a183e0f82a573 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Nov 2022 20:44:21 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 72374ff..b2da363 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -361,9 +361,10 @@ REMOVEFLOPPY() { echo "" echo -e "${Green}Floppy has been removed, you must reboot to take effect.${Color_Off}" - read -en 1 -p "${Blue}Would you like to reboot now (y/N)?" choice + read -e -n 1 -p "${Blue}Would you like to reboot now (y/N)?" choice case "$choice" in - [Yy]) echo + [Yy]) + echo echo echo -e "${BOrange}The system is now rebooting...${Color_Off}" if [ "$EUID" -ne 0 ]; then sudo shutdown -r now