diff --git a/functions/retrieve_domains.sh b/functions/retrieve_domains.sh index be3d426ed..5d2a7f124 100644 --- a/functions/retrieve_domains.sh +++ b/functions/retrieve_domains.sh @@ -290,6 +290,7 @@ format_file() { cleanup() { # Initialize pending directory is no pending domains to be saved find data/pending -type d -empty -delete + find . -maxdepth 1 -type f -name "*.tmp" -delete }