From f017fd8af9459de0919c988d6dceb0ec68b9e208 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Sep 2013 11:39:52 -0700 Subject: [PATCH] go fmt --- communicator/ssh/communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index e2eea4b21..abdc46461 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -413,7 +413,7 @@ func scpUploadDir(root string, fs []os.FileInfo, w io.Writer, r *bufio.Reader) e // a file just works. If it is a directory, we need to know so we // treat it as such. isSymlinkToDir := false - if fi.Mode() & os.ModeSymlink == os.ModeSymlink { + if fi.Mode()&os.ModeSymlink == os.ModeSymlink { symPath, err := filepath.EvalSymlinks(realPath) if err != nil { return err