|
|
@ -644,9 +644,11 @@ vps_backup_recover() { |
|
|
|
return 1 |
|
|
|
} |
|
|
|
|
|
|
|
type=$(ssh:run "root@$vps" -- vps get-type) && { |
|
|
|
if type=$(ssh:run "root@$vps" -- vps get-type); then |
|
|
|
info "VPS $vps seems to be of ${WHITE}$type${NORMAL} type" |
|
|
|
} |
|
|
|
else |
|
|
|
warn "Couldn't find type of vps '$vps' (command 'vps get-type' failed on vps)." |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$path" ]; then |
|
|
|
if [ -n "$vps_path" ]; then |
|
|
|