mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix rare error with the jobs return code
This commit is contained in:
parent
a04f983a09
commit
1142ace55a
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class JobScheduler(ApiCaller):
|
|||
ret = job.run()
|
||||
if ret == 1:
|
||||
reload = True
|
||||
elif ret >= 2:
|
||||
elif (ret or 2) >= 2:
|
||||
success = False
|
||||
if reload:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue