diff options
author | Valery Piashchynski <[email protected]> | 2019-11-30 22:48:46 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2019-11-30 22:48:46 +0300 |
commit | 921354df1aa4687837e3ba6ac0eb04d39321c149 (patch) | |
tree | 28336d4ea8f85a8c78301a84834b39de87a7028d /worker.go | |
parent | 4c608506dd745a73b5e09348485e48288824b774 (diff) |
- Fixed issue with else branch
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 } } |