mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-24 22:14:05 +08:00
fs_find_mount_point.cpp
This commit is contained in:
parent
c3a4b2e79e
commit
62f9806a27
@ -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()});
|
||||
|
Loading…
x
Reference in New Issue
Block a user