diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-25 13:59:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-25 13:59:22 +0000 |
commit | d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b (patch) | |
tree | 4c83433040637be56731555fdc7fd792a2216450 /perl-install | |
parent | 83b19474f78117b6e195f56abd8972dd48df592a (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakboot | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index f75d75665..ec1a59ed4 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- drakboot: + o make sure users are not listed twice (#38116) - diskdrake: o jfsprogs is now jfsutils - drop support for arch now that rpmdrake-4.3 dropped it 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; |