Skip to content

Commit

Permalink
fix(abnativeelf): always return spiral and sodeps results
Browse files Browse the repository at this point in the history
  • Loading branch information
RedL0tus committed Feb 14, 2024
1 parent b14055a commit 74899eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions native/abnativeelf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,6 @@ int elf_copy_debug_symbols_parallel(const std::vector<std::string> &directories,

pool.wait_for_completion();

if (pool.has_error())
return 1;

if (flags & AB_ELF_FIND_SO_DEPS) {
const auto pool_results = pool.get_sodeps();
so_deps.insert(pool_results.begin(), pool_results.end());
Expand All @@ -737,5 +734,8 @@ int elf_copy_debug_symbols_parallel(const std::vector<std::string> &directories,
spiral_provides.insert(spiral_results.begin(), spiral_results.end());
}

if (pool.has_error())
return 1;

return 0;
}

0 comments on commit 74899eb

Please sign in to comment.