mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
parent
4d3432af3e
commit
b5b54ff057
@ -2242,7 +2242,7 @@ func (m *model) WatchError(folder string) error {
|
|||||||
m.fmut.RLock()
|
m.fmut.RLock()
|
||||||
defer m.fmut.RUnlock()
|
defer m.fmut.RUnlock()
|
||||||
if err := m.checkFolderRunningLocked(folder); err != nil {
|
if err := m.checkFolderRunningLocked(folder); err != nil {
|
||||||
return err
|
return nil // If the folder isn't running, there's no error to report.
|
||||||
}
|
}
|
||||||
return m.folderRunners[folder].WatchError()
|
return m.folderRunners[folder].WatchError()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user