Skip to content

Commit 923fdba

Browse files
authored
Fix incorrect log message (#41861)
## What does this PR do? Fixes an incorrect log message. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 85745aa commit 923fdba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/security/probe/probe_ebpf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ func (p *EBPFProbe) VerifyEnvironment() *multierror.Error {
415415
}
416416

417417
if mounted, _ := mountinfo.Mounted(utilkernel.ProcFSRoot()); !mounted {
418-
err = multierror.Append(err, errors.New("/etc/group doesn't seem to be a mountpoint"))
418+
err = multierror.Append(err, fmt.Errorf("%s doesn't seem to be a mountpoint", utilkernel.ProcFSRoot()))
419419
}
420420

421421
if mounted, _ := mountinfo.Mounted(p.kernelVersion.OsReleasePath); !mounted {

0 commit comments

Comments
 (0)