diff --git a/main.go b/main.go index aa92109..ee3b092 100644 --- a/main.go +++ b/main.go @@ -19,11 +19,11 @@ func main() { } for file := range fsChan { - fmt.Println("file found:", file) - fileHandled := HandleFile(file) - if !fileHandled { + if fileHandled { + fmt.Println("file handled:", file) + } else { fmt.Println("file ignored:", file) } }