From bde35f3a97fa856612d2279f1efcd5f31db4daac Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 18 Jan 2004 04:53:02 +0000 Subject: better use user default shell --- drakconsole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drakconsole b/drakconsole index 4a0ff539..61c90197 100755 --- a/drakconsole +++ b/drakconsole @@ -29,6 +29,6 @@ $w->{rwindow}->add(my $vte = gtksignal_connect(Gnome2::Vte::Terminal->new, 'child-exited' => sub { ugtk2->exit }) ); $w->{rwindow}->show_all; -$vte->fork_command("/bin/bash", [ "/bin/bash" ], [ map { "$_=$ENV{$_}" } keys %ENV ], $ENV{PWD}, 0, 0, 0); +$vte->fork_command($ENV{SHELL}, [ $ENV{SHELL} ], [ map { "$_=$ENV{$_}" } keys %ENV ], $ENV{PWD}, 0, 0, 0); $w->main; -- cgit v1.2.1