debug output improved

This commit is contained in:
milarin 2023-01-13 20:06:45 +01:00
parent f853f7d6dc
commit d526e4d1db

View File

@ -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)
}
}