diff options
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,9 +111,9 @@ func (w *Worker) Wait() error { if err != nil { if ws.Exited() { return nil + } else { + return err } - } else { - return err } } |