diff --git a/cmd/cloudflared/shell/launch_browser_unix.go b/cmd/cloudflared/shell/launch_browser_unix.go index 2ebe9590..a8ff5f8d 100644 --- a/cmd/cloudflared/shell/launch_browser_unix.go +++ b/cmd/cloudflared/shell/launch_browser_unix.go @@ -8,7 +8,7 @@ import ( ) func getBrowserCmd(url string) *exec.Cmd { - // Check for Windows Subsystem for Linux (v2+). + // Check if wslview is available (Windows Subsystem for Linux). if _, err := os.Stat("/usr/bin/wslview"); err == nil { return exec.Command("wslview", url) }