diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index ee931d11..58ae3ce4 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -16,7 +16,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) if(ec) can_path = ghc::filesystem::absolute(path_,ec); if(ec) - return {}; + return ec; rv = fs::lstat(can_path,&initial_st); if(rv == -1)