btrbk: bugfix: use "/bin/false" as RSH if no config is available

pull/88/head
Axel Burri 2016-04-08 13:38:50 +02:00
parent ccc2a35520
commit 78bfc5b885
1 changed files with 2 additions and 0 deletions

2
btrbk
View File

@ -1398,6 +1398,8 @@ sub vinfo($;$)
PATH => $path,
PRINT => "$host:$path",
URL_PREFIX => "ssh://$host",
RSH_TYPE => "UNKNOWN",
RSH => [ '/bin/false' ],
);
if($config) {
my $ssh_port = config_key($config, "ssh_port");