mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 23:20:51 +01:00
config: connect: ssh_command
parameter did not work
This commit is contained in:
parent
72d288567e
commit
4b489ad2c7
@ -77,7 +77,7 @@ func Outgoing(remote SSHTransport) (s OutgoingSSHByteStream, err error) {
|
|||||||
|
|
||||||
var sshCommand = SSHCommand
|
var sshCommand = SSHCommand
|
||||||
if len(remote.SSHCommand) > 0 {
|
if len(remote.SSHCommand) > 0 {
|
||||||
sshCommand = SSHCommand
|
sshCommand = remote.SSHCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.c, err = util.NewIOCommand(sshCommand, sshArgs, util.IOCommandStderrBufSize); err != nil {
|
if s.c, err = util.NewIOCommand(sshCommand, sshArgs, util.IOCommandStderrBufSize); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user