Skip to content

Commit 5d76072

Browse files
committed
Support opening auth url on FreeBSD
1 parent 9069021 commit 5d76072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/auth/user_login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func cleanup(server *http.Server) {
332332
func openBrowser(pageUrl string) error {
333333
var err error
334334
switch runtime.GOOS {
335-
case "linux":
335+
case "freebsd", "linux":
336336
// We need to use the windows way on WSL, otherwise we do not pass query
337337
// parameters correctly. https://github.com/microsoft/WSL/issues/3832
338338
if _, ok := os.LookupEnv("WSL_DISTRO_NAME"); !ok {

0 commit comments

Comments
 (0)