pamd: fix idempotence issue when removing rules (#54105)

This commit is contained in:
Łukasz Szczęsny
2019-04-01 16:18:33 +02:00
committed by Sam Doran
parent f405d97e1e
commit bcdd1dc951
3 changed files with 5 additions and 1 deletions

View File

@@ -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