diff --git a/bin/0km b/bin/0km index ee38d76..caa17f5 100755 --- a/bin/0km +++ b/bin/0km @@ -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