Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--terminal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.py b/terminal.py
index d239bc5..2977a83 100644
--- a/terminal.py
+++ b/terminal.py
@@ -95,7 +95,7 @@ class TerminalActivity(activity.Activity):
self._vte.paste_clipboard()
def _become_root_cb(self, button):
- self._vte.fork_command("/bin/su")
+ self._vte.fork_command("/bin/su", ('/bin/su', '-'))
def __key_press_cb(self, window, event):
if event.state & gtk.gdk.CONTROL_MASK and event.state & gtk.gdk.SHIFT_MASK: