Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a3aa49

Browse files
authored
fix: use absolute path for config-ssh coder binary (coder#2647)
1 parent 6429dfe commit 3a3aa49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/configssh.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ func currentBinPath(w io.Writer) (string, error) {
546546
_, _ = fmt.Fprint(w, "\n")
547547
}
548548

549-
return binName, nil
549+
return exePath, nil
550550
}
551551

552552
// diffBytes takes two byte slices and diffs them as if they were in a

0 commit comments

Comments
 (0)