From: allfro Date: Sun, 10 Mar 2013 04:47:44 +0000 (-0500) Subject: Fixed prolog error in @superuser'd transforms X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=c9b702722e04220d1366032391e0f85d45fb2df2;p=get-hack-src.git Fixed prolog error in @superuser'd transforms --- diff --git a/src/scripts/pysudo b/src/scripts/pysudo index 3b78cd4..a6c2fbb 100755 --- a/src/scripts/pysudo +++ b/src/scripts/pysudo @@ -35,7 +35,7 @@ def main(): password = passwordbox('Please enter your password.', 'sudo', '') if password is None: exit(1) - p = subprocess.Popen(['sudo', '-S', 'echo', 'yes'], stdin=subprocess.PIPE) + p = subprocess.Popen(['sudo', '-S', 'true'], stdin=subprocess.PIPE) p.communicate(input='%s\n' % password) if not p.returncode: l.unlock()