safesocket: gofmt

gofmt differences between versions :(
This commit is contained in:
Brad Fitzpatrick 2020-07-20 14:40:19 -07:00
parent f562c35c0d
commit d8e67ca2ab

View File

@ -130,10 +130,10 @@ func connectMacOSAppSandbox() (net.Conn, error) {
// App Sandbox. // App Sandbox.
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 {