fixed unbound variable and removed exits

This commit is contained in:
CerberusV1
2024-10-15 13:11:33 +02:00
parent 476bff6e4b
commit 86761bd0ef

View File

@@ -41,16 +41,15 @@ while true; do
echo "Before starting the server, please accept the EULA"
else
echo "Something went wrong, please recreate the EULA"
exit 1
fi
else
echo "Before starting the server, please accept the EULA"
exit 2
fi
read -p "Press Enter to continue..."
break
;;
"Set EULA")
current_date=$(date)
clear
echo " Setting EULA "
echo "------------------------------------------------------------"