aboutsummaryrefslogtreecommitdiff
path: root/rutina.go
diff options
context:
space:
mode:
Diffstat (limited to 'rutina.go')
-rwxr-xr-xrutina.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rutina.go b/rutina.go
index 3cf140c..4206f54 100755
--- a/rutina.go
+++ b/rutina.go
@@ -219,7 +219,7 @@ func (p *process) run(pctx context.Context, errCh chan error, logger logger) err
if errCh != nil {
errCh <- ErrRunLimit
}
- return nil
+ return ErrRunLimit
}
}
logger("restarting process #%d", p.id)