From f47978a3f48dbd3ee7144304cd8aa08821ce2d46 Mon Sep 17 00:00:00 2001 From: boltgolt Date: Wed, 2 Dec 2020 21:53:33 +0100 Subject: [PATCH] Syntax fix --- src/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.py b/src/cli.py index 6eace35..de9d698 100755 --- a/src/cli.py +++ b/src/cli.py @@ -80,7 +80,7 @@ builtins.howdy_user = args.user # Check if we have rootish rights # This is this far down the file so running the command for help is always possible -if not os.geteuid()==0: +if os.geteuid() != 0: print("Please run this command as root:\n") print("\tsudo howdy " + " ".join(sys.argv[1:])) sys.exit(1)