Skip to content

Commit

Permalink
fix: cleanup found action to prevent zombie processes
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-1 committed Feb 4, 2025
1 parent 2d4b7ff commit 01e7c99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scanning/foundaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ func foundAction(options model.Options, target, query, ptype string) {
if err != nil {
printing.DalLog("ERROR", "execution error from found-action", options)
}
defer cmd.Process.Release()
}

0 comments on commit 01e7c99

Please sign in to comment.