0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Syntax fix

This commit is contained in:
boltgolt 2020-12-02 21:53:33 +01:00
parent 75ce383207
commit f47978a3f4
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

View file

@ -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)