diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/POSIX.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index e57ee96b6..0ad9dacf6 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -279,6 +279,9 @@ class POSIX(Bcfg2.Client.Tools.Tool): if entry.get('prune', 'false') == 'true' and entry.get("qtest"): for pname in entry.get("qtest").split(":"): ulfailed = False + if os.path.isdir(pname): + self.logger.info("Not removing extra directory %s, please check and remove manually" % pname) + continue try: self.logger.debug("Unlinking file %s" % pname) os.unlink(pname) |