diff --git a/bin/0km b/bin/0km index 12a313e..ee38d76 100755 --- a/bin/0km +++ b/bin/0km @@ -80,7 +80,7 @@ ssh:open() { -o ConnectTimeout=5 -o StrictHostKeyChecking=no \ "${ssh_options[@]}" \ "$hostname" "$@" -- true) - "${full_cmd[@]}" /dev/null 2>&1 || { + "${full_cmd[@]}" >/dev/null 2>&1 || { err "Failed: ${full_cmd[*]}" return 1 }