dont change ssh communicator as part of this pr
This commit is contained in:
parent
f18bb19f96
commit
7d290a5df1
|
@ -576,7 +576,7 @@ func (c *comm) scpUploadSession(path string, input io.Reader, fi *os.FileInfo) e
|
|||
return scpUploadFile(target_file, input, w, stdoutR, fi)
|
||||
}
|
||||
|
||||
return c.scpSession("scp -vt "+strconv.Quote(target_dir), scpFunc)
|
||||
return c.scpSession("scp -vt "+target_dir, scpFunc)
|
||||
}
|
||||
|
||||
func (c *comm) scpUploadDirSession(dst string, src string, excl []string) error {
|
||||
|
|
Loading…
Reference in New Issue