diff options
Diffstat (limited to 'allium/lib/relays.py')
-rw-r--r-- | allium/lib/relays.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/allium/lib/relays.py b/allium/lib/relays.py index ba5a0ca..7be77f5 100644 --- a/allium/lib/relays.py +++ b/allium/lib/relays.py @@ -9,6 +9,7 @@ import hashlib import json import os import re +import sys import time import urllib.request from shutil import rmtree @@ -55,7 +56,7 @@ class Relays(): except urllib.error.HTTPError as err: if err.code == 304: print("no onionoo update since last run, dying peacefully...") - return + sys.exit(1) else: raise(err) |