Skip to content

Commit

Permalink
Added comments for explaination
Browse files Browse the repository at this point in the history
Signed-off-by: GLVS Kiriti <[email protected]>
  • Loading branch information
GLVSKiriti authored and poiana committed Mar 26, 2024
1 parent 76c3685 commit 0baee1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions events/syscall/remove_bulk_data_from_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func RemoveBulkDataFromDisk(h events.Helper) error {
}

h.Log().Infof("attempting to run shred command to remove bulk data from disk")
// Rule triggers irrespective of shred utility existence
// So no need to skip action even shred not exists
cmd := exec.Command("shred", "-u", filename)
err := cmd.Run()
return err
Expand Down

0 comments on commit 0baee1e

Please sign in to comment.