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