ipn: add missing entries for OpenBSD

Signed-off-by: Juan Francisco Cantero Hurtado <jfch@30041993.xyz>
pull/16299/head
Juan Francisco Cantero Hurtado 6 months ago committed by Brad Fitzpatrick
parent 4431fb89c2
commit cbc14bd3b0

@ -443,7 +443,7 @@ func findCmdTailscale() (string, error) {
}
case "windows":
ts = filepath.Join(filepath.Dir(self), "tailscale.exe")
case "freebsd":
case "freebsd", "openbsd":
if self == "/usr/local/bin/tailscaled" {
ts = "/usr/local/bin/tailscale"
}

@ -144,7 +144,7 @@ func (a *actor) Username() (string, error) {
}
defer tok.Close()
return tok.Username()
case "darwin", "linux", "illumos", "solaris":
case "darwin", "linux", "illumos", "solaris", "openbsd":
uid, ok := a.ci.Creds().UserID()
if !ok {
return "", errors.New("missing user ID")

Loading…
Cancel
Save