mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-28 04:26:26 -08:00
ipn: add missing entries for OpenBSD
Signed-off-by: Juan Francisco Cantero Hurtado <[email protected]>
This commit is contained in:
1 parent
4431fb89c2
commit
cbc14bd3b0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user