Skip to content

Commit

Permalink
Fix an issue with linux remote-ssh package listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWoloszyn committed Aug 31, 2018
1 parent 5400804 commit 53c6e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/os/device/remotessh/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 53c6e59

Please sign in to comment.