aboutsummaryrefslogtreecommitdiff
path: root/butl/filesystem.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/filesystem.ixx')
-rw-r--r--butl/filesystem.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/filesystem.ixx b/butl/filesystem.ixx
index 86f654c..c2bfa49 100644
--- a/butl/filesystem.ixx
+++ b/butl/filesystem.ixx
@@ -10,7 +10,7 @@ namespace butl
bool e (dir_exists (p)); //@@ What if it exists but is not a directory?
if (e)
- rmdir_r (p, ignore_error);
+ rmdir_r (p, true, ignore_error);
return e ? rmdir_status::success : rmdir_status::not_exist;
}