spelling: separators

This commit is contained in:
Josh Soref 2018-03-14 03:21:38 +00:00
parent 007930ec2d
commit 6c1654d421
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ func (c *comm) scpUploadSession(path string, input io.Reader, fi *os.FileInfo) e
target_file = filepath.Base((*fi).Name())
}
// On windows, filepath.Dir uses backslash seperators (ie. "\tmp").
// On windows, filepath.Dir uses backslash separators (ie. "\tmp").
// This does not work when the target host is unix. Switch to forward slash
// which works for unix and windows
target_dir = filepath.ToSlash(target_dir)