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

Commit ff9df23

Browse files
author
Koen Lekkerkerker
committed
Fix nasty bug introduced in #20
1 parent cb73e85 commit ff9df23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (d *sshfsDriver) mountVolume(v *sshfsVolume) error {
240240
cmd.Args = append(cmd.Args, "-p", v.Port)
241241
}
242242
if v.Password != "" {
243-
cmd.Args = append(cmd.Args, "-p", v.Port, "-o", "workaround=rename", "-o", "password_stdin")
243+
cmd.Args = append(cmd.Args, "-o", "workaround=rename", "-o", "password_stdin")
244244
cmd.Stdin = strings.NewReader(v.Password)
245245
}
246246
if v.AllowOther {

0 commit comments

Comments
 (0)