Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Fix nasty bug introduced in #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Lekkerkerker committed Jul 16, 2017
1 parent cb73e85 commit ff9df23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (d *sshfsDriver) mountVolume(v *sshfsVolume) error {
cmd.Args = append(cmd.Args, "-p", v.Port)
}
if v.Password != "" {
cmd.Args = append(cmd.Args, "-p", v.Port, "-o", "workaround=rename", "-o", "password_stdin")
cmd.Args = append(cmd.Args, "-o", "workaround=rename", "-o", "password_stdin")
cmd.Stdin = strings.NewReader(v.Password)
}
if v.AllowOther {
Expand Down

0 comments on commit ff9df23

Please sign in to comment.