summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/POSIX.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index fd17ffe39..15ce942de 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -150,6 +150,7 @@ class POSIX(Bcfg2.Client.Tools.Tool):
(mtime == entry.get('mtime', '-1')))
pruneTrue = True
+ self.ex_ents = []
if entry.get('prune', 'false') == 'true' \
and entry.tag == 'Directory':
try:
@@ -167,8 +168,6 @@ class POSIX(Bcfg2.Client.Tools.Tool):
except OSError:
self.ex_ents = []
pruneTrue = True
- else:
- pruneTrue = True
if not pTrue:
if owner != str(normUid(entry)):