Verified Commit 075bfa7c authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Do not have a default machine

parent d7e95ecb
......@@ -381,10 +381,7 @@ machine=0
while [ "$machine" != "1" ] && [ "$machine" != "2" ] && \
[ "$machine" != "3" ] && [ "$machine" != "4" ] && \
[ "$machine" != "5" ] ; do
read -r -p "Enter your choice (default: 1): " machine
if [ "$machine" = "" ]; then
machine=1
fi
read -r -p "Enter your choice : " machine
if [ "$machine" != "1" ] && [ "$machine" != "2" ] && \
[ "$machine" != "3" ] && [ "$machine" != "4" ] && \
[ "$machine" != "5" ] ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment