Correctly prepent - to argv[0] when a login shell is configured. Closes LP #195043.

This commit is contained in:
Chris Jones 2008-06-17 00:26:45 +01:00
parent 08b2f70b20
commit 3bbeb59d71
1 changed files with 3 additions and 0 deletions

View File

@ -409,6 +409,9 @@ text/plain
if not args:
args.append (shell)
if self.conf.login_shell:
args[0] = "-%s"%args[0]
dbg ('SEGBUG: Setting WINDOWID')
os.putenv ('WINDOWID', '%s'%self._vte.get_parent_window().xid)