diff --git a/Dockerfile b/Dockerfile index 7457427..c35d884 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM alpine:3.20.0 AS monosphere-builder #~The open Monosphere Project~ -#Autor : Siphonight :) +#Author : Siphonight :) #Setting default settings, please change them at run -ARG MONOSPHERE_VERSION="1.0.4 Alpha" +ARG MONOSPHERE_VERSION="1.0.5 Alpha" #Defining build settings diff --git a/server_menu.sh b/server_menu.sh index 95fab8d..76d9627 100644 --- a/server_menu.sh +++ b/server_menu.sh @@ -14,7 +14,7 @@ USER_SERVERS=$(awk -v user="${CONNECTED_USER}" ' } }' "${AUTHORIZED_SERVERS_FILE}") -if [[ -z "${USER_SERVERS}" ]]; then +if [[ -z ${USER_SERVERS} ]]; then echo "Vous n'avez pas l'autorisation de vous connecter à un serveur." exit 1 fi @@ -40,10 +40,10 @@ function main_menu() { read -r -p "Votre choix (1-${counter}): " choice - if [[ "${choice}" == "quit" ]] || [[ "${choice}" == "${counter}" ]]; then + if [[ ${choice} == "quit" ]] || [[ ${choice} == "${counter}" ]]; then echo "Déconnexion du bastion." exit 0 - elif [[ -z "${choice}" ]] || [[ -z "${server_map[${choice}]}" ]]; then + elif [[ -z ${choice} ]] || [[ -z ${server_map[${choice}]} ]]; then echo "Sélection invalide." else local selected_server