()
| 115 | } |
| 116 | |
| 117 | func (p *Process) wait() { |
| 118 | p.cmd.Wait() |
| 119 | |
| 120 | if p.logfd != nil { |
| 121 | p.stopErr = p.checkForProblems(p.logfd) |
| 122 | } |
| 123 | |
| 124 | close(p.stopped) |
| 125 | } |
| 126 | |
| 127 | // AwaitStartup waits for the Syncthing process to start and perform initial |
| 128 | // scans of all folders. |
no test coverage detected