Skip to content

Commit

Permalink
Update events/syscall/delete_or_rename_shell_history.go
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Di Pierro <[email protected]>
Signed-off-by: Kapil Sharma <[email protected]>
  • Loading branch information
h4l0gen and FedeDP committed Apr 2, 2024
1 parent 63f2c92 commit 983d54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/syscall/delete_or_rename_shell_history.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func DeleteOrRenameShellHistory(h events.Helper) error {
if err != nil {
return err
}
defer file.Close()
file.Close()

// Remove the file
if err := os.Remove(tmpFile); err != nil {
Expand Down

0 comments on commit 983d54a

Please sign in to comment.