summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-08 10:17:39 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-08 10:17:39 +0000
commit3e2e308bb47af3a997ff66ecb99336e5635792d8 (patch)
tree72c2ff682845c1401855891c495b9debe95c3b95 /perl-install/install_steps_interactive.pm
parent9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95 (diff)
downloaddrakx-3e2e308bb47af3a997ff66ecb99336e5635792d8.tar
drakx-3e2e308bb47af3a997ff66ecb99336e5635792d8.tar.gz
drakx-3e2e308bb47af3a997ff66ecb99336e5635792d8.tar.bz2
drakx-3e2e308bb47af3a997ff66ecb99336e5635792d8.tar.xz
drakx-3e2e308bb47af3a997ff66ecb99336e5635792d8.zip
Don't suggest lost+found as a user name (bug #11298)
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 4a0cf1d76..9590b85eb 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1201,7 +1201,7 @@ sub addUser {
if !member('mandrake', map { $_->{name} } @{$o->{users}});
}
if ($o->{security} >= 1 || $clicked) {
- my @suggested_names = @{$o->{users}} ? () : all("$::prefix/home");
+ my @suggested_names = @{$o->{users}} ? () : grep { !/lost+found/ } all("$::prefix/home");
any::ask_users($o, $o->{users}, $o->{security}, \@suggested_names);
}
add2hash($o, any::get_autologin());