diff --git a/events/syscall/mount_launched_in_privileged_container.go b/events/syscall/mount_launched_in_privileged_container.go index e199571..3634462 100644 --- a/events/syscall/mount_launched_in_privileged_container.go +++ b/events/syscall/mount_launched_in_privileged_container.go @@ -29,7 +29,8 @@ func MountLaunchedInPrivilegedContainer(h events.Helper) error { cmd.SysProcAttr = &syscall.SysProcAttr{ Cloneflags: syscall.CLONE_NEWNS | syscall.CLONE_NEWUSER, } - return cmd.Run() // This command will give a run time error, but enough to trigger the rule + _ = cmd.Run() // This command will give a run time error, but enough to trigger the rule + return nil } return &events.ErrSkipped{ Reason: "'Mount Launched In Privileged Container' is applicable only to privileged containers.",