fix(scanner/macos): remove unnecessary error check (#1836)

This commit is contained in:
MaineK00n
2024-01-31 05:33:47 +09:00
committed by GitHub
parent d6589c2193
commit ea84385c42

View File

@@ -110,9 +110,6 @@ func (o *macos) detectIPAddr() (err error) {
return xerrors.Errorf("Failed to detect IP address: %v", r)
}
o.ServerInfo.IPv4Addrs, o.ServerInfo.IPv6Addrs = o.parseIfconfig(r.Stdout)
if err != nil {
return xerrors.Errorf("Failed to parse Ifconfig. err: %w", err)
}
return nil
}