Fixed typo in UpdateOne.sh

This commit is contained in:
2022-09-07 03:50:07 +02:00
parent 379fb5672f
commit 6b6b7a92c5

View File

@@ -35,7 +35,7 @@ if ! $IdExists; then echo "This ID does not exist"; exit; fi
if [[ $VMS =~ $ID ]]; then TYPE=VM; fi if [[ $VMS =~ $ID ]]; then TYPE=VM; fi
if [[ $CTS =~ $ID ]]; then TYPE=CT; fi if [[ $CTS =~ $ID ]]; then TYPE=CT; fi
check#Check if VM/CT is running #Check if VM/CT is running
if ! $($TYPE-State $ID); then echo "This ID is not runnig"; exit; fi if ! $($TYPE-State $ID); then echo "This ID is not runnig"; exit; fi
#Ask what should be updated #Ask what should be updated