[Pkg-sugar-commit] [sugar-terminal-activity] 01/02: Make the root shell a login shell #8515
Jonas Smedegaard
dr at jones.dk
Fri Jun 19 02:57:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v18
in repository sugar-terminal-activity.
commit 688e05434fbf5f66505bd7396dc58da38bfcdf47
Author: Sayamindu Dasgupta <sayamindu at gmail.com>
Date: Tue Sep 23 01:52:20 2008 +0530
Make the root shell a login shell #8515
---
terminal.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-terminal-activity.git
More information about the pkg-sugar-commit
mailing list