Remove an excess error check

This commit is contained in:
M. Mert Yildiran 2022-06-06 13:32:38 +03:00
parent 153e699695
commit d212ebadee
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A

View File

@ -77,10 +77,6 @@ func (t *TlsTapper) GlobalGolangTap(procfs string, pid string) error {
return err
}
if err != nil {
return err
}
return t.tapGolangPid(procfs, uint32(_pid), api.UNKNOWN_NAMESPACE)
}