msp policies stopped before root path

This commit is contained in:
Antonio SJ Musumeci 2020-12-17 19:55:49 -05:00
parent 8a335d8a6e
commit 44a98910ba
5 changed files with 24 additions and 31 deletions

View file

@ -108,15 +108,15 @@ namespace msppfrd
string fusepath;
fusepath = fusepath_;
do
for(;;)
{
error = msppfrd::create_1(branches_,fusepath,branchinfo_,sum_);
if(branchinfo_->size())
return error;
break;
if(fusepath == "/")
break;
fusepath = fs::path::dirname(fusepath);
}
while(!fusepath.empty());
return error;
}