Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
558090bd31
  1. 1
      src/fs_find_mount_point.cpp

1
src/fs_find_mount_point.cpp

@ -14,6 +14,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
if(rv == -1) if(rv == -1)
return {}; return {};
tmp_path = path_;
while(tmp_path != "/") while(tmp_path != "/")
{ {
rv = fs::lstat(tmp_path.parent_path(),&tmp_st); rv = fs::lstat(tmp_path.parent_path(),&tmp_st);

Loading…
Cancel
Save