From 90725642303e1532b892fcea6887204ab4634313 Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sun, 29 Aug 2021 09:53:18 +0900 Subject: [PATCH] Fix mktemp path --- tootpaste.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tootpaste.sh b/tootpaste.sh index 4e2d24a..a18c3d3 100644 --- a/tootpaste.sh +++ b/tootpaste.sh @@ -21,9 +21,9 @@ CARDS_REMOVE_DAYS=${CARDS_REMOVE_DAYS:-15} # How old unreferenced statuses have to be before getting removed STATUSES_REMOVE_DAYS=${STATUSES_REMOVE_DAYS:-30} # Path to logs files -CULL_LOG=/tmp/$(mktemp tootpaste_XXX) -TLS_EXPIRED_LOG=/tmp/$(mktemp tootpaste_XXX) -OTHER_ERRORS_LOG=/tmp/$(mktemp tootpaste_XXX) +CULL_LOG=$(mktemp /tmp/tootpaste_XXX) +TLS_EXPIRED_LOG=$(mktemp /tmp/tootpaste_XXX) +OTHER_ERRORS_LOG=$(mktemp /tmp/tootpaste_XXX) PREV_ERRORS_LOG=/tmp/tootpaste_prev_errors accounts_cull() {