From 87bf17d312857b6b6095fa57e79a5e5f7b0cee49 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 14 Apr 2001 12:21:07 +0000 Subject: (autologin): spurious messages of chksession -> dave nul --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1