mirror of https://github.com/digint/btrbk
btrbk: bugfix: use "/bin/false" as RSH if no config is available
parent
ccc2a35520
commit
78bfc5b885
2
btrbk
2
btrbk
|
@ -1398,6 +1398,8 @@ sub vinfo($;$)
|
||||||
PATH => $path,
|
PATH => $path,
|
||||||
PRINT => "$host:$path",
|
PRINT => "$host:$path",
|
||||||
URL_PREFIX => "ssh://$host",
|
URL_PREFIX => "ssh://$host",
|
||||||
|
RSH_TYPE => "UNKNOWN",
|
||||||
|
RSH => [ '/bin/false' ],
|
||||||
);
|
);
|
||||||
if($config) {
|
if($config) {
|
||||||
my $ssh_port = config_key($config, "ssh_port");
|
my $ssh_port = config_key($config, "ssh_port");
|
||||||
|
|
Loading…
Reference in New Issue