summaryrefslogtreecommitdiffstats
path: root/perl-install/authentication.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/authentication.pm')
-rw-r--r--perl-install/authentication.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 638cb7f92..0adf20f84 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -261,7 +261,7 @@ sub check_given_password {
sub get() {
my $system_auth = cat_("/etc/pam.d/system-auth");
my $authentication = {
- md5 => $system_auth =~ /md5/, shadow => $system_auth =~ /shadow/,
+ md5 => to_bool($system_auth =~ /md5/), shadow => to_bool($system_auth =~ /shadow/),
};
my @pam_kinds = get_pam_authentication_kinds();