diff --git a/UpdateOne.sh b/UpdateOne.sh index 83b450f..b5e0ba6 100755 --- a/UpdateOne.sh +++ b/UpdateOne.sh @@ -35,7 +35,7 @@ if ! $IdExists; then echo "This ID does not exist"; exit; fi if [[ $VMS =~ $ID ]]; then TYPE=VM; 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 #Ask what should be updated