vendor: Update github.com/syncthing/notify (fixes #4854) (#5032)

This commit is contained in:
Simon Frei
2018-06-26 10:13:39 +02:00
committed by Jakob Borg
parent 7b0d8c2e77
commit 406b394704
8 changed files with 93 additions and 108 deletions

View File

@@ -106,7 +106,8 @@ func newWatcher(c chan<- EventInfo) watcher {
}
t.t = newTrigger(t.pthLkp)
if err := t.t.Init(); err != nil {
panic(err)
t.Close()
return watcherStub{fmt.Errorf("failed setting up watcher: %v", err)}
}
go t.monitor()
return t