Browse Source

new: [0km] output remote error when failing command `vps install backup`

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 3 years ago
parent
commit
f44aae4a42
  1. 3
      bin/0km

3
bin/0km

@ -736,7 +736,8 @@ vps_install_backup() {
fi fi
if ! out=$(ssh:run "root@$vps" -- vps install backup "$server" 2>&1); then if ! out=$(ssh:run "root@$vps" -- vps install backup "$server" 2>&1); then
err "Command 'vps install backup $server' failed."
err "Command 'vps install backup $server' on $vps failed:"
echo "$out" | prefix " ${DARKGRAY}|${NORMAL} " >&2
return 1 return 1
fi fi

Loading…
Cancel
Save