If target contains recovery, not if exact match
This commit is contained in:
parent
1641ee607a
commit
1263370a41
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -185,7 +185,7 @@ cleanup () {
|
|||
if [[ -n $untracked ]]; then
|
||||
printf '\e[1;34m-->\e[0m\e[1m Cleaning up untracked deployments\e[0m\n'
|
||||
for target in ${untracked[@]}; do
|
||||
if [[ $target == 'recovery' ]]; then
|
||||
if [[ $target == *recovery* ]]; then
|
||||
printf '\e[1;33m<!>\e[0m\e[1m Detected untracked recovery entry, ignoring\n\e[0m'
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue