Minor update to comment

This commit is contained in:
Johan Westling 2020-07-23 10:06:40 +03:00
parent 7f83927fd2
commit 6c81dc291e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
) )
func getBrowserCmd(url string) *exec.Cmd { 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 { if _, err := os.Stat("/usr/bin/wslview"); err == nil {
return exec.Command("wslview", url) return exec.Command("wslview", url)
} }