dont change ssh communicator as part of this pr

This commit is contained in:
Megan Marsh 2018-10-29 13:50:07 -07:00
parent f18bb19f96
commit 7d290a5df1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {