From e8dac8d3b5693e628d89ed089865bbd23dc9edbf Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 11:44:59 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 22f3e1c8..8d65d471 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 ec; + return nonstd::make_unexpected(ec); rv = fs::lstat(can_path,&initial_st); if(rv == -1)