From e1084146106149fb8f1fbd4d17ad30d0cd8251b7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 31 Oct 2003 12:13:48 +0000 Subject: also set SHELL --- move/move.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 6320cbea5..289b82027 100644 --- a/move/move.pm +++ b/move/move.pm @@ -104,11 +104,12 @@ Continue at your own risk."), formatError($@) ]) if $@; sleep 1; log::l("DrakX waves bye-bye"); - (undef, undef, my $uid, my $gid, undef, undef, undef, my $home) = getpwnam('mdk'); + (undef, undef, my $uid, my $gid, undef, undef, undef, my $home, my $shell) = getpwnam('mdk'); $( = $) = "$gid $gid"; $< = $> = $uid; $ENV{LOGNAME} = $ENV{USER} = 'mdk'; $ENV{HOME} = $home; + $ENV{SHELL} = $shell; exec 'startkde'; } else { exec 'xwait' or c::_exit(0); -- cgit v1.2.1