fs_find_mount_point.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-04-16 00:19:11 -05:00
parent 10ad8ceda4
commit 845101a5fb

View File

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