diff options
Diffstat (limited to 'Userland/Libraries/LibCore/File.cpp')
-rw-r--r-- | Userland/Libraries/LibCore/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/File.cpp b/Userland/Libraries/LibCore/File.cpp index 9104350231..d03837d9f5 100644 --- a/Userland/Libraries/LibCore/File.cpp +++ b/Userland/Libraries/LibCore/File.cpp @@ -473,7 +473,7 @@ ErrorOr<void, File::CopyError> File::copy_directory(String const& dst_path, Stri if (!dst_rp.is_empty() && dst_rp.starts_with(src_rp)) return CopyError { errno, false }; - DirIterator di(src_path, DirIterator::SkipDots); + DirIterator di(src_path, DirIterator::SkipParentAndBaseDir); if (di.has_error()) return CopyError { errno, false }; |