Fix rare error with the jobs return code

This commit is contained in:
Théophile Diot 2022-12-13 15:44:29 +01:00
parent a04f983a09
commit 1142ace55a
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -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: