aboutsummaryrefslogtreecommitdiff
path: root/butl/filesystem.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-22 23:18:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-23 15:13:12 +0300
commit748eab79085d7c8a3b3da90316a90a892db884ae (patch)
tree8bb0b2c1e7fba762530bd0e23320cc5a667ca249 /butl/filesystem.ixx
parentdbd6d3ea474a8fbc6b2a8cbfeec34dbbc58f0553 (diff)
Add ignore_error parameter to rmdir_r(), fix try_rmdir_r()
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;
}