Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
15b4df1a9d
  1. 2
      src/fs_find_mount_point.cpp

2
src/fs_find_mount_point.cpp

@ -20,7 +20,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
rv = fs::lstat(can_path,&initial_st); rv = fs::lstat(can_path,&initial_st);
if(rv == -1) if(rv == -1)
return {};
return std::error_code(-errno);
tmp_path = can_path; tmp_path = can_path;
while(tmp_path != tmp_path.root_path()) while(tmp_path != tmp_path.root_path())

Loading…
Cancel
Save