mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
pamd: fix idempotence issue when removing rules (#54105)
This commit is contained in:
committed by
Sam Doran
parent
f405d97e1e
commit
bcdd1dc951
@@ -482,7 +482,7 @@ class PamdService(object):
|
||||
else:
|
||||
self._head = current_line.next
|
||||
current_line.next.prev = None
|
||||
changed += 1
|
||||
changed += 1
|
||||
|
||||
current_line = current_line.next
|
||||
return changed
|
||||
|
||||
Reference in New Issue
Block a user