Commit 738dfe0e authored by Link Mauve's avatar Link Mauve
Browse files

Merge branch 'root-bailout' into 'master'

Prevent poezio from being run as root

See merge request !20
parents cc104f10 8af787e3
......@@ -72,6 +72,11 @@ def main():
Entry point.
if os.geteuid() == 0:
sys.stdout.write("Please do not run poezio as root.\n")
from poezio import config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment