From 383a5c77ef107d92e97c23554eb88e50f22a6bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 19 Jun 2021 16:43:46 +0200 Subject: [PATCH] Changed `read -p` to `read -rp` --- .local/bin/Update-kernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/Update-kernel b/.local/bin/Update-kernel index d139231..dcb0ce0 100755 --- a/.local/bin/Update-kernel +++ b/.local/bin/Update-kernel @@ -19,7 +19,7 @@ echo -e "\e[93m----------------------SELECTION-----------------------------\e[0m sudo eselect kernel list echo echo -read -p "New kernel is: " KERVER +read -rp "New kernel is: " KERVER echo echo -e "Your kernel now is \e[91m$(uname -sr)\e[0m" echo -e "Your selected kernel is \e[91m"$KERVER"\e[0m" @@ -29,7 +29,7 @@ echo } function compilation() { -read -p "Do you want to accept and compile (Y/N): " agreed +read -rp "Do you want to accept and compile (Y/N): " agreed echo if [ "$agreed" == "y" ] || [ "$agreed" == "Y" ] then