Skip to content

Commit

Permalink
removed unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
CordeliaLopez committed Dec 18, 2023
1 parent 9045f1d commit 5878fba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/network/tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,6 @@ func (t *Tracer) verifyPESIsSupported(kernelVersion *ebpfkernel.Version) {
if kernelVersion.IsRH7Kernel() || (!kernelVersion.IsRH8Kernel() && kernelVersion.Code < ebpfkernel.Kernel4_15) {
log.Warn("disabling process event monitoring as it is not supported for this kernel version")
tr.cfg.EnableProcessEventMonitoring = false
return
}
}

Expand Down

0 comments on commit 5878fba

Please sign in to comment.