Update tljh/config.py

Co-Authored-By: anyushevai <irina.anyusheva@gmail.com>
This commit is contained in:
Min RK
2018-10-24 18:13:03 +03:00
committed by GitHub
parent ac06f64224
commit 60ab68d299

View File

@@ -221,7 +221,6 @@ def _is_list(item):
def main(argv=None): def main(argv=None):
if os.geteuid() != 0: if os.geteuid() != 0:
print("It looks like this command wasn't run with root privileges. Perhaps you didn't use `sudo -E`?") print("It looks like this command wasn't run with root privileges. Perhaps you didn't use `sudo -E`?")
raise(SystemExit)
if argv is None: if argv is None:
argv = sys.argv[1:] argv = sys.argv[1:]