summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-14 12:21:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-14 12:21:07 +0000
commit87bf17d312857b6b6095fa57e79a5e5f7b0cee49 (patch)
treebae9505dccf1cda585c61362a588811218f20a0a /perl-install
parent3959d3def013c80f94c59c0836af69be01d805b2 (diff)
downloaddrakx-87bf17d312857b6b6095fa57e79a5e5f7b0cee49.tar
drakx-87bf17d312857b6b6095fa57e79a5e5f7b0cee49.tar.gz
drakx-87bf17d312857b6b6095fa57e79a5e5f7b0cee49.tar.bz2
drakx-87bf17d312857b6b6095fa57e79a5e5f7b0cee49.tar.xz
drakx-87bf17d312857b6b6095fa57e79a5e5f7b0cee49.zip
(autologin): spurious messages of chksession -> dave nul
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index fb858967e..3ae0b8f05 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -753,7 +753,7 @@ sub autologin {
my ($prefix, $o, $in) = @_;
my $cmd = $prefix ? "chroot $prefix" : "";
- my @wm = (split (' ', `$cmd /usr/sbin/chksession -l`));
+ my @wm = (split (' ', `$cmd /usr/sbin/chksession -l 2>/dev/null`));
my @users = map { $_->{name} } @{$o->{users} || []};
if (@wm && @users && !$o->{authentication}{NIS} && $o->{security} <= 2) {