From d526e4d1dbf3122e920db1958ddce12a8dce39f5 Mon Sep 17 00:00:00 2001 From: milarin Date: Fri, 13 Jan 2023 20:06:45 +0100 Subject: [PATCH] debug output improved --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) } }