mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
safesocket: use right version of gofmt
sigh Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
f11cb811cc
commit
e453c7ca57
@ -54,10 +54,10 @@ func localTCPPortAndTokenDarwin() (port int, token string, err error) {
|
|||||||
// lsof to find the IPNExtension:
|
// lsof to find the IPNExtension:
|
||||||
|
|
||||||
out, err := exec.Command("lsof",
|
out, err := exec.Command("lsof",
|
||||||
"-n", // numeric sockets; don't do DNS lookups, etc
|
"-n", // numeric sockets; don't do DNS lookups, etc
|
||||||
"-a", // logical AND remaining options
|
"-a", // logical AND remaining options
|
||||||
fmt.Sprintf("-u%d", os.Getuid()), // process of same user only
|
fmt.Sprintf("-u%d", os.Getuid()), // process of same user only
|
||||||
"-c", "IPNExtension", // starting with IPNExtension
|
"-c", "IPNExtension", // starting with IPNExtension
|
||||||
"-F", // machine-readable output
|
"-F", // machine-readable output
|
||||||
).Output()
|
).Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user