Skip to content

Commit

Permalink
Merge pull request #1751 from hacktivista/fix/v-update-sys-ip-non-exi…
Browse files Browse the repository at this point in the history
…stent-files

Fix v-update-sys-ip: verify if primary IP exists
  • Loading branch information
serghey-rodin committed May 14, 2019
2 parents 46d080c + 9abd3ba commit 1e157d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/v-update-sys-ip
Expand Up @@ -44,7 +44,7 @@ if [[ "$ip_num" -eq '1' ]] && [[ "$v_ip_num" -eq 1 ]]; then
fi

# Updating configs
if [ ! -z "$new" ]; then
if [ ! -z "$old" ]; then
mv $VESTA/data/ips/$old $VESTA/data/ips/$new

# Updating PROXY
Expand Down

0 comments on commit 1e157d4

Please sign in to comment.