Skip to content

Commit

Permalink
Merge pull request Nitrokey#17 from merlokk/fixinit
Browse files Browse the repository at this point in the history
fix init for win.
  • Loading branch information
nickray authored Apr 1, 2019
2 parents 9bedd52 + a235fda commit 93da76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solo/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from . import _patches # noqa (since otherwise "unused")


if all((os.name == "posix", os.geteuid() == 0)):
if (os.name == "posix" and os.geteuid() == 0):
print("THIS COMMAND SHOULD NOT BE RUN AS ROOT!")
print()
print("Please install udev rules and run `solo` as regular user (without sudo).")
Expand Down

0 comments on commit 93da76a

Please sign in to comment.