Skip to content
Browse files

fixed gksudo handler

  • Loading branch information...
1 parent 95a73a8 commit 2ebef3e11aea9f42c112b4c8784f81ecc9b232c1 @ibressler committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 dfmon/backend.py
View
3 dfmon/backend.py
@@ -40,7 +40,7 @@
# graphical sudo handlers to test for, last one is the fallback solution
PLAIN_SUDO_QUESTION = "askforpwd"
KNOWN_SUDO_HANDLERS = [["kdesu", "-c"],
- ["gksudo"],
+ ["gksudo", "--"],
["sudo", "-p", PLAIN_SUDO_QUESTION, "-s"],
["su", "-c"]]
@@ -165,6 +165,7 @@ def __init__(self, cmdList, sudo = False):
cmdList = newcmd
self._sudo = True
try:
+ print "starting:", cmdList
self._cmd = subprocess.Popen(cmdList,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,

0 comments on commit 2ebef3e

Please sign in to comment.
Something went wrong with that request. Please try again.