summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-31 12:13:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-31 12:13:48 +0000
commite1084146106149fb8f1fbd4d17ad30d0cd8251b7 (patch)
treea1f7b463d6ef5256320330e3e8b6fe5c8f7b36a3 /move
parent9c375e3ec95ec4f12f093487ff37276f8c818700 (diff)
downloaddrakx-e1084146106149fb8f1fbd4d17ad30d0cd8251b7.tar
drakx-e1084146106149fb8f1fbd4d17ad30d0cd8251b7.tar.gz
drakx-e1084146106149fb8f1fbd4d17ad30d0cd8251b7.tar.bz2
drakx-e1084146106149fb8f1fbd4d17ad30d0cd8251b7.tar.xz
drakx-e1084146106149fb8f1fbd4d17ad30d0cd8251b7.zip
also set SHELL
Diffstat (limited to 'move')
-rw-r--r--move/move.pm3
1 files changed, 2 insertions, 1 deletions
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);