diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2023-08-08 07:51:43 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2023-08-08 07:51:43 -0700 |
commit | 231c9cfb0b64c3c566d89f0cd1ae5b0b124a9f25 (patch) | |
tree | 4c73ef6029204f7dfb30d70687aad8f8e3b12213 /verify-digests.sh | |
parent | snapshots-create.sh: hopefully make this script entirely quiet for normal runs (diff) | |
download | mastermirror-scripts-231c9cfb0b64c3c566d89f0cd1ae5b0b124a9f25.tar.gz mastermirror-scripts-231c9cfb0b64c3c566d89f0cd1ae5b0b124a9f25.tar.bz2 mastermirror-scripts-231c9cfb0b64c3c566d89f0cd1ae5b0b124a9f25.zip |
*: fix trap calls to ensure call on regular exit and errors20230808T145156Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'verify-digests.sh')
-rwxr-xr-x | verify-digests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/verify-digests.sh b/verify-digests.sh index bf39a87..bd0cfa8 100755 --- a/verify-digests.sh +++ b/verify-digests.sh @@ -100,7 +100,7 @@ T=$(date -u +%Y%m%dT%H%M%SZ) tmp1=$(mktemp --tmpdir) tmp2=$(mktemp --tmpdir) failures=$(mktemp --tmpdir gentoo-failures.$T.XXXXXXXXXX) -trap "rm -f $tmp1 $tmp2" SIGINT SIGTERM +trap 'rm -f "${tmp1}"" "${tmp2}"' SIGINT SIGTERM EXIT # Now check them failed_digests=() |