diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-18 04:53:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-18 04:53:02 +0000 |
commit | bde35f3a97fa856612d2279f1efcd5f31db4daac (patch) | |
tree | 7d86b3e641c38eff33fbd6cd8b87be386a04b5ab | |
parent | d0f2fa536e835d5ba03c5ff8ab847162c815eaf3 (diff) | |
download | control-center-bde35f3a97fa856612d2279f1efcd5f31db4daac.tar control-center-bde35f3a97fa856612d2279f1efcd5f31db4daac.tar.gz control-center-bde35f3a97fa856612d2279f1efcd5f31db4daac.tar.bz2 control-center-bde35f3a97fa856612d2279f1efcd5f31db4daac.tar.xz control-center-bde35f3a97fa856612d2279f1efcd5f31db4daac.zip |
better use user default shell
-rwxr-xr-x | drakconsole | 2 |
1 files changed, 1 insertions, 1 deletions
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; |