mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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
|
||||
|
||||
# Updating configs
|
||||
if [ ! -z "$new" ]; then
|
||||
if [ ! -z "$old" ]; then
|
||||
mv $VESTA/data/ips/$old $VESTA/data/ips/$new
|
||||
|
||||
# Updating PROXY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue