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
2 people authored and poiana committed Apr 2, 2024
1 parent 9942d9f commit e048d5c
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 e048d5c

Please sign in to comment.