From 62f9806a27e6bb545ce01874faf4de14ade9aa79 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 11:57:05 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 3fc16e3d..c8e4345b 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -28,6 +28,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) rv = fs::lstat(can_path,&initial_st); if(rv == -1) + return nonstd::make_unexpected(::_ecerrno()) { ec.assign(errno,std::generic_category()); return nonstd::make_unexpected(std::error_code{errno,std::generic_category()});