summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worker.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/worker.go b/worker.go
index bbb541c8..811bda5f 100644
--- a/worker.go
+++ b/worker.go
@@ -109,7 +109,6 @@ func (w *Worker) Wait() error {
w.cmd.Wait()
}
- // todo: is it ok?
if w.endState.Success() {
w.state.set(StateStopped)
return nil