更新 错误

This commit is contained in:
dengsgo 2019-12-06 16:26:41 +08:00
parent 753ff72f85
commit 3e47cd28ba

View File

@ -145,7 +145,7 @@ func addWatcher() {
log.Println("watcher add -> ", dir)
err := watcher.Add(dir)
if err != nil {
logAndExit(err)
logAndExit(PreError, err)
}
}
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))