diff options
| author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2025-12-27 10:23:35 +0000 |
|---|---|---|
| committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2025-12-27 10:49:33 +0000 |
| commit | e0ef94e95661682bec375632c55dbebfd4f0a24f (patch) | |
| tree | b0cc6ea35979c2e619451a99af4c04c9c13e9f6d /perl-install | |
| parent | f7332a41ccbc247fc43bb6d0d9833fea25b9dbc5 (diff) | |
| download | drakx-e0ef94e95661682bec375632c55dbebfd4f0a24f.tar drakx-e0ef94e95661682bec375632c55dbebfd4f0a24f.tar.gz drakx-e0ef94e95661682bec375632c55dbebfd4f0a24f.tar.bz2 drakx-e0ef94e95661682bec375632c55dbebfd4f0a24f.tar.xz drakx-e0ef94e95661682bec375632c55dbebfd4f0a24f.zip | |
Change drakautologin to use new session_names() subroutine.
This removes the last remaining use of chksession.
Diffstat (limited to 'perl-install')
| -rwxr-xr-x | perl-install/standalone/drakautologin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakautologin b/perl-install/standalone/drakautologin index 109f44a04..61cf2ae52 100755 --- a/perl-install/standalone/drakautologin +++ b/perl-install/standalone/drakautologin @@ -82,7 +82,7 @@ sub run_boot_window { sub autologin_choice() { my @users = sort(list_users()); - my @sessions = sort(split(' ', `/usr/sbin/chksession -l`)); + my @sessions = any::session_names(); my $x_mode = Xconfig::various::runlevel() == 5; my $auto_mode = any::get_autologin(); |
