Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
Alexander Gololobov 2024-04-15 23:35:42 +01:00 committed by GitHub
parent 0265fabfca
commit e53752db04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -206,8 +206,7 @@ bool SystemRemoteDataPathsSource::nextDisk()
if (current_disk >= static_cast<ssize_t>(disks.size()))
break;
paths_stack.emplace_back();
auto & current = paths_stack.back();
auto & current = paths_stack.emplace_back();
/// Add dirs that we want to traverse. It's ok if some of them don't exist because traversal logic hadles
/// cases when children of a directory get deleted while traversal is running.