diff --git a/src/Common/unix/FileStream_unix.cpp b/src/Common/unix/FileStream_unix.cpp index 0e9f1189..33ce5f10 100644 --- a/src/Common/unix/FileStream_unix.cpp +++ b/src/Common/unix/FileStream_unix.cpp @@ -7,6 +7,9 @@ fs::path findPathCI(const fs::path& path) fs::path fName = path.filename(); fs::path parentPath = path.parent_path(); + if (parentPath.empty()) + return path; + if (!fs::exists(parentPath)) { auto CIParent = findPathCI(parentPath);