summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-25 13:59:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-25 13:59:22 +0000
commitd7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b (patch)
tree4c83433040637be56731555fdc7fd792a2216450 /perl-install/standalone
parent83b19474f78117b6e195f56abd8972dd48df592a (diff)
downloaddrakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.gz
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.bz2
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.xz
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.zip
(autologin_choice) make sure users are not listed twice (#38116)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 1d71f6bd8..08ce80345 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -171,7 +171,7 @@ sub splash_choice() {
}
sub autologin_choice() {
- my @users = sort(list_users());
+ my @users = uniq(sort(list_users()));
my @sessions = sort(split(' ', `/usr/sbin/chksession -l`));
my $x_mode = Xconfig::various::runlevel() == 5;