From 230739bbb1350c3787388bd10cbf038ca81c2405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Sun, 16 Jul 2017 18:23:02 +0200 Subject: Rewrite launch script --- launch.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 launch.py (limited to 'launch.py') diff --git a/launch.py b/launch.py new file mode 100755 index 000000000..726445f0e --- /dev/null +++ b/launch.py @@ -0,0 +1,11 @@ +#!/usr/bin/python3 -OO + +import os +import sys + +if os.geteuid() == 0: + sys.exit("You must not launch gajim as root, it is insecure.") + +import gajim.gajim as g + +g.GajimApplication().run(sys.argv) -- cgit v1.2.3