mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Remove message about PAM perl module not being loaded
This commit is contained in:
@@ -170,16 +170,11 @@ elsif (!$config{'no_pam'}) {
|
||||
"PAM initialization of Authen::PAM failed");
|
||||
}
|
||||
}
|
||||
else {
|
||||
push(@startup_msg,
|
||||
"Perl module Authen::PAM needed for PAM is ".
|
||||
"not installed : $@");
|
||||
}
|
||||
}
|
||||
if ($config{'pam_only'} && !$use_pam) {
|
||||
foreach $msg (@startup_msg) {
|
||||
print STDERR $msg,"\n";
|
||||
}
|
||||
print STDERR $msg,"\n";
|
||||
}
|
||||
print STDERR "PAM use is mandatory, but could not be enabled!\n";
|
||||
print STDERR "no_pam and pam_only both are set!\n" if ($config{no_pam});
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user