If update already deployed, do not exist with error

This commit is contained in:
Dennis ten Hoove 2024-03-04 17:17:52 +01:00
parent 2798449611
commit ed3e94297f

2
arkdep
View file

@ -538,7 +538,7 @@ deploy () {
# Lets ensure the requested image is not already deployed
if [[ -e $arkdep_dir/deployments/${data[0]} ]]; then
printf "\e[1;33m<!>\e[0m\e[1m ${data[0]} is already deployed, canceling deployment\e[0m\n"
exit 1
exit 0
fi
# Check if requested version is already downloaded