From 96e9ecf1197ff36a66608dd0b976e07740ec8366 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Mon, 7 Oct 2024 10:51:20 -0400 Subject: [PATCH] improve comment --- pkg/action/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/process.go b/pkg/action/process.go index 2bc47f1b7..8c84a0688 100644 --- a/pkg/action/process.go +++ b/pkg/action/process.go @@ -61,7 +61,7 @@ func canStat(path string) bool { return err == nil } -// processInfo returns the best path to a process executable +// processInfo returns information about a process tuned for scanning. func processInfo(ctx context.Context, p *process.Process) (*ProcessInfo, error) { pi := &ProcessInfo{ PID: p.Pid,