summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
authornecoro <>2007-08-12 04:46:54 +0000
committernecoro <>2007-08-12 04:46:54 +0000
commit98dd224cb785f159d8754752626f64fac4695e08 (patch)
tree2b012a156b4051f60919cd49d101e4eae6248eae /portato.py
parent99c2d6260a6c9b1a4103b263f083648019d44d49 (diff)
downloadportato-98dd224cb785f159d8754752626f64fac4695e08.tar.gz
portato-98dd224cb785f159d8754752626f64fac4695e08.tar.bz2
portato-98dd224cb785f159d8754752626f64fac4695e08.zip
added listener/notify
Diffstat (limited to 'portato.py')
-rwxr-xr-xportato.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato.py b/portato.py
index 0776e10..7f5308c 100755
--- a/portato.py
+++ b/portato.py
@@ -109,7 +109,7 @@ def main ():
try:
if os.getuid() != 0:
- call([SU_COMMAND, "%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = os.environ)
+ call(SU_COMMAND.split()+["%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = os.environ)
else:
call([sys.argv[0], "--no-listener"]+additional, env = os.environ)
except KeyboardInterrupt: