diff --git a/rules/process_darwin.go b/rules/process_darwin.go index 1b18a006..0ff8960d 100644 --- a/rules/process_darwin.go +++ b/rules/process_darwin.go @@ -36,7 +36,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool { name, err := getExecPathFromAddress(metadata) if err != nil { log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error()) - return false } processCache.Set(key, name) diff --git a/rules/process_freebsd_amd64.go b/rules/process_freebsd_amd64.go index c719b3a4..40e7a5fc 100644 --- a/rules/process_freebsd_amd64.go +++ b/rules/process_freebsd_amd64.go @@ -35,7 +35,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool { name, err := getExecPathFromAddress(metadata) if err != nil { log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error()) - return false } processCache.Set(key, name)