更新 错误
This commit is contained in:
parent
753ff72f85
commit
3e47cd28ba
@ -145,7 +145,7 @@ func addWatcher() {
|
|||||||
log.Println("watcher add -> ", dir)
|
log.Println("watcher add -> ", dir)
|
||||||
err := watcher.Add(dir)
|
err := watcher.Add(dir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logAndExit(err)
|
logAndExit(PreError, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))
|
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))
|
||||||
|
Loading…
Reference in New Issue
Block a user