safesocket: use right version of gofmt

sigh

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-03-05 13:43:54 -08:00
parent f11cb811cc
commit e453c7ca57

View File

@ -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 {