diff options
-rw-r--r-- | src/lib/Client/Tools/POSIX.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index 3ecda9b55..e4fc182a7 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -213,6 +213,7 @@ class POSIX(Bcfg2.Client.Tools.Tool): self.logger.debug("Found a non-directory entry at %s" % (entry.get('name'))) try: os.unlink(entry.get('name')) + exists = False except OSError: self.logger.info("Failed to unlink %s" % (entry.get('name'))) return False |