Skip to content

Conversation

@yahyatoubali
Copy link

When processing a list of domains with the -l flag, the OUT function used a broad tmp-* glob to gather and clean up temporary result files. This caused an issue where results from previously processed domains were not cleaned up and were incorrectly included in the output for subsequent domains.

This commit fixes the bug by changing the glob in the OUT function to be domain-specific (tmp-*-"$domain"). This ensures that only the temporary files belonging to the currently processed domain are aggregated and deleted, preventing result contamination between domains.

When processing a list of domains with the `-l` flag, the `OUT` function used a broad `tmp-*` glob to gather and clean up temporary result files. This caused an issue where results from previously processed domains were not cleaned up and were incorrectly included in the output for subsequent domains.

This commit fixes the bug by changing the glob in the `OUT` function to be domain-specific (`tmp-*-"$domain"`). This ensures that only the temporary files belonging to the currently processed domain are aggregated and deleted, preventing result contamination between domains.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant