diff options
author | André Apitzsch <git@apitzsch.eu> | 2017-07-16 19:23:02 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2017-08-18 20:48:48 +0300 |
commit | 230739bbb1350c3787388bd10cbf038ca81c2405 (patch) | |
tree | 4ec48661464f973c343dc7480503536eab4d31ed /launch.py | |
parent | f7e83af297b629031c26f6d3beafe2064bf4fdf3 (diff) |
Rewrite launch script
Diffstat (limited to 'launch.py')
-rwxr-xr-x | launch.py | 11 |
1 files changed, 11 insertions, 0 deletions
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) |