Skip to content

Commit

Permalink
safesocket: use right version of gofmt
Browse files Browse the repository at this point in the history
sigh

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
  • Loading branch information
bradfitz committed Mar 5, 2021
1 parent f11cb81 commit e453c7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions safesocket/safesocket_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ func localTCPPortAndTokenDarwin() (port int, token string, err error) {
// lsof to find the IPNExtension:

out, err := exec.Command("lsof",
"-n", // numeric sockets; don't do DNS lookups, etc
"-a", // logical AND remaining options
"-n", // numeric sockets; don't do DNS lookups, etc
"-a", // logical AND remaining options
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
).Output()
if err != nil {
Expand Down

0 comments on commit e453c7c

Please sign in to comment.