summaryrefslogtreecommitdiff
path: root/db-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'db-cleanup')
-rwxr-xr-xdb-cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-cleanup b/db-cleanup
index cc0a5b4..413ce06 100755
--- a/db-cleanup
+++ b/db-cleanup
@@ -29,7 +29,7 @@ EXTRAFLAGS=()
"${CLEANUP_DRYRUN}" && EXTRAFLAGS+=(--dry-run)
filter=$(mktemp -t "${0##*/}.XXXXXXXXXX")
-trap "rm $(printf %q "$filter")" EXIT
+trap "rm -f -- $(printf %q "$filter")" EXIT
for _repo in "${PKGREPOS[@]}"; do
for _arch in "${ARCHES[@]}"; do