From eaa9059fb5780a844cd1afe0907e79beeafdcfff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 16 Nov 2024 20:29:20 +0100 Subject: [PATCH] yt-dlp-ntfy: fix non-working trap statement --- yt-dlp-ntfy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt-dlp-ntfy.sh b/yt-dlp-ntfy.sh index 5e77b9b..dbbe30a 100755 --- a/yt-dlp-ntfy.sh +++ b/yt-dlp-ntfy.sh @@ -41,5 +41,5 @@ while true; do done < <(curl --no-buffer -s -H "Authorization: Bearer $ACCESS_TOKEN" "$NTFY_SERVER/$CHANNEL/json") # Cleanup PID file on script exit -trap "rm -f $PID_FILE" EXIT +trap 'rm -f $PID_FILE' EXIT