Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
d2545229b5
  1. 4
      src/fs_find_mount_point.cpp

4
src/fs_find_mount_point.cpp

@ -19,9 +19,11 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
return nonstd::make_unexpected(ec);
rv = fs::lstat(can_path,&initial_st);
ec.assign(errno,std::generic_category());
if(rv == -1)
{
ec.assign(errno,std::generic_category());
return nonstd::make_unexpected(ec);
}
tmp_path = can_path;
while(tmp_path != tmp_path.root_path())

Loading…
Cancel
Save