Fixed typo in UpdateOne.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user