Prevent poezio from being run as root

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 4e231185
......@@ -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