fix login_shell option so that it sends -l rather than -shell

This commit is contained in:
Matt Rose 2020-09-08 11:18:52 -04:00
parent 1ad579ce03
commit d0ac642f71
1 changed files with 1 additions and 1 deletions

View File

@ -1460,7 +1460,7 @@ class Terminal(Gtk.VBox):
shell = util.shell_lookup()
if self.config['login_shell']:
args.insert(0, "-%s" % shell)
args.insert(0, "-l")
else:
args.insert(0, shell)