From e42016141f04a3d5b3a924e88c193c9ae94223bc Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 22 Aug 2018 09:56:24 -0400 Subject: [PATCH] Fix an issue with linux remote-ssh package listing. --- core/os/device/remotessh/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/device/remotessh/commands.go b/core/os/device/remotessh/commands.go index a1e35cc80c..6467808502 100644 --- a/core/os/device/remotessh/commands.go +++ b/core/os/device/remotessh/commands.go @@ -344,7 +344,7 @@ func (b binding) IsFile(ctx context.Context, inPath string) (bool, error) { // IsDirectory returns true if the given path is a directory func (b binding) IsDirectory(ctx context.Context, inPath string) (bool, error) { - _, err := b.Shell("cd", `\`+inPath+`\`).Call(ctx) + _, err := b.Shell("cd", `"`+inPath+`"`).Call(ctx) if err != nil { return false, nil }