Browse Source

fix indexing of truncate targets

pull/533/head
Antonio SJ Musumeci 6 years ago
parent
commit
43b676a6e2
  1. 2
      src/truncate.cpp

2
src/truncate.cpp

@ -62,7 +62,7 @@ _truncate_loop(const vector<const string*> &basepaths,
error = -1;
for(size_t i = 0, ei = basepaths.size(); i != ei; i++)
{
error = _truncate_loop_core(basepaths[0],fusepath,size,error);
error = _truncate_loop_core(basepaths[i],fusepath,size,error);
}
return -error;

Loading…
Cancel
Save