From 55cf253b21de3ab7300011a393d667fbaf208184 Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Wed, 6 Jul 2022 05:35:44 +0000 Subject: [PATCH] clean up temp files in exit condition --- .bin/etc-files-list-update/update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.bin/etc-files-list-update/update.sh b/.bin/etc-files-list-update/update.sh index 18cc0d5dc..67c1e072d 100755 --- a/.bin/etc-files-list-update/update.sh +++ b/.bin/etc-files-list-update/update.sh @@ -15,6 +15,7 @@ util/find-new-urls.awk > url_batch if [[ $(wc -l url_batch | awk '{print $1}') == 0 ]] then echo "no new URLs" 1>&2 + rm url_batch exit 0 fi