wgengine/monitor_freebsd.go: remove duplicated errcheck

Signed-off-by: disconnect3d <dominik.b.czarnota@gmail.com>
reviewable/pr703/r1
Disconnect3d 4 years ago committed by Brad Fitzpatrick
parent 9e2e8c80af
commit 44598e3e89

@ -30,9 +30,6 @@ func newOSMon(logf logger.Logf) (osMon, error) {
if err != nil { if err != nil {
return nil, fmt.Errorf("devd dial error: %v", err) return nil, fmt.Errorf("devd dial error: %v", err)
} }
if err != nil {
return nil, fmt.Errorf("dialing devd socket: %v", err)
}
return &devdConn{conn}, nil return &devdConn{conn}, nil
} }

Loading…
Cancel
Save