diff options
author | Sam Hartman <hartmans@debian.org> | 2023-08-16 16:40:20 -0600 |
---|---|---|
committer | Sam Hartman <hartmans@debian.org> | 2023-08-16 16:45:04 -0600 |
commit | 8708337078144b30c8ce03b506d4cc47020661bb (patch) | |
tree | 2eb976d5afc1637ace6ad215beda577763c23276 /debian/local | |
parent | 5d5d1a88a5851679c669162a0b64e29bc56c1d70 (diff) | |
download | pam-8708337078144b30c8ce03b506d4cc47020661bb.tar.gz pam-8708337078144b30c8ce03b506d4cc47020661bb.tar.bz2 pam-8708337078144b30c8ce03b506d4cc47020661bb.zip |
Fix pam-auth-update --disable logic error, Closes: #1039873
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/pam-auth-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index b3de86e7..ac00b1c9 100644 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -162,7 +162,9 @@ push(@enabled, # Disable anything explicitly disabled @enabled = grep {!$to_disable{$_} } @enabled; # And we've seen anything we disable -delete @seen{ keys %to_disable}; +foreach my $i (keys %to_disable) { + $seen{$i} = 1; +} # an empty module set is an error, so in that case grab all the defaults if (!@enabled) { |