mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-07 22:38:26 +00:00
lib/model: Don't set watch error on folder creation (fixes 5005) (#5006)
This commit is contained in:
parent
793b86e604
commit
54e17c8bf4
@ -83,7 +83,6 @@ func newFolder(model *Model, cfg config.FolderConfiguration) folder {
|
||||
|
||||
watchCancel: func() {},
|
||||
restartWatchChan: make(chan struct{}, 1),
|
||||
watchErr: errWatchNotStarted,
|
||||
watchErrMut: sync.NewMutex(),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user