Skip to content

Commit

Permalink
Update eventhandler.go
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Oct 6, 2023
1 parent a052122 commit f5371e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (eventHandler *EventHandler) handleFileEvent(event *Event) {
if !strings.HasPrefix(event.FileName, "/") {
event.FileName = path.Join(event.Path, event.FileName)
}

WriteLog(fmt.Sprintf("[FileWrite] file: %s syscall: %s by exe: %s", event.FileName, event.Syscall, event.Exe))
if strings.Contains(event.FileName, "post_event.json") {
WriteLog("\n")
WriteLog("post_event called")
Expand Down

0 comments on commit f5371e8

Please sign in to comment.