mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Merge pull request #1751 from hacktivista/fix/v-update-sys-ip-non-existent-files
Fix v-update-sys-ip: verify if primary IP exists
This commit is contained in:
commit
1e157d4c29
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if [[ "$ip_num" -eq '1' ]] && [[ "$v_ip_num" -eq 1 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Updating configs
|
# Updating configs
|
||||||
if [ ! -z "$new" ]; then
|
if [ ! -z "$old" ]; then
|
||||||
mv $VESTA/data/ips/$old $VESTA/data/ips/$new
|
mv $VESTA/data/ips/$old $VESTA/data/ips/$new
|
||||||
|
|
||||||
# Updating PROXY
|
# Updating PROXY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue