Commit 6e524e0b authored by Yann Leboulanger's avatar Yann Leboulanger

[zloygod] ps aux now shows gajim, and killall gajim works. Fixes #1620

parent 41992568
#!/bin/sh
cd `dirname $0`/src
exec python -OOt gajim.py $@
exec -a gajim python -OOt gajim.py $@
......@@ -29,4 +29,4 @@ fi
cd PREFIX/share/gajim/src
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
exec PYTHON_EXEC -OO gajim.py $@
exec -a gajim PYTHON_EXEC -OO gajim.py $@
......@@ -41,6 +41,13 @@ from chat_control import ChatControlBase
from common import exceptions
try:
import dl
libc = dl.open('/lib/libc.so.6')
libc.call('prctl',15,'gajim\0',0,0,0)
except:
pass
try:
import gtk
except RuntimeError, msg:
......
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