If update already deployed, do not exist with error
This commit is contained in:
parent
2798449611
commit
ed3e94297f
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue