From 4e39ed0fcabf924afa2b91606f59bb08655b59ac Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sun, 18 Aug 2019 12:17:43 +0200 Subject: [PATCH] btrbk: print ssh errors (remove -q option) --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index c3292e2..a4cb3ff 100755 --- a/btrbk +++ b/btrbk @@ -2513,7 +2513,7 @@ sub vinfo_rsh($;@) my $ssh_identity = config_key($config, "ssh_identity"); my $ssh_compression = config_key($config, "ssh_compression"); my $ssh_cipher_spec = config_key($config, "ssh_cipher_spec") // "default"; - my @ssh_options = ('-q'); + my @ssh_options; # as of btrbk-0.29.0, we run ssh without -q, and print stderr output if exitcode=255 push(@ssh_options, '-p', $ssh_port) if($ssh_port); push(@ssh_options, '-c', $ssh_cipher_spec) if($ssh_cipher_spec ne "default"); if($ssh_identity) {