mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Update tljh/config.py
Co-Authored-By: anyushevai <irina.anyusheva@gmail.com>
This commit is contained in:
@@ -220,7 +220,7 @@ def _is_list(item):
|
|||||||
|
|
||||||
def main(argv=None):
|
def main(argv=None):
|
||||||
if os.geteuid() != 0:
|
if os.geteuid() != 0:
|
||||||
print("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)
|
raise(SystemExit)
|
||||||
|
|
||||||
if argv is None:
|
if argv is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user