Skip to content

Commit

Permalink
fix(events/syscall/remove_bulk_data_from_disk): no new variables on l…
Browse files Browse the repository at this point in the history
…eft side of :=

Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr authored and poiana committed Mar 26, 2024
1 parent 93c2ee7 commit cde96d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/syscall/remove_bulk_data_from_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ func RemoveBulkDataFromDisk(h events.Helper) error {
// Rule triggers regardless of whether the 'shred' utility exists or its outcome
// Therefore, there's no need to skip the action or report the error in any case
cmd := exec.Command("shred", "-u", filename)
_ := cmd.Run()
cmd.Run()
return nil
}

0 comments on commit cde96d9

Please sign in to comment.