aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-remove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r--bpkg/rep-remove.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx
index 056883d..36a6892 100644
--- a/bpkg/rep-remove.cxx
+++ b/bpkg/rep-remove.cxx
@@ -331,7 +331,7 @@ namespace bpkg
try
{
- for (const dir_entry& de: dir_iterator (rd)) // system_error
+ for (const dir_entry& de: dir_iterator (rd, false /* ignore_dangling */))
{
if (de.ltype () == entry_type::directory)
rmdir (rd / path_cast<dir_path> (de.path ()));