mirror of https://github.com/rq/rq.git
Merge pull request #84 from jonasvp/master
Use a non-zero exit code on errors in scripts
This commit is contained in:
commit
8bf0b8eb93
|
@ -174,3 +174,4 @@ def main():
|
|||
interval(args.interval, func, args)
|
||||
except ConnectionError as e:
|
||||
print(e)
|
||||
sys.exit(1)
|
||||
|
|
|
@ -66,3 +66,4 @@ def main():
|
|||
w.work(burst=args.burst)
|
||||
except ConnectionError as e:
|
||||
print(e)
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in New Issue