yt-dlp-ntfy: fix non-working trap statement

This commit is contained in:
Lukáš Kucharczyk 2024-11-16 20:29:20 +01:00
parent bb1eaa30ad
commit eaa9059fb5
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 1 additions and 1 deletions

View File

@ -41,5 +41,5 @@ while true; do
done < <(curl --no-buffer -s -H "Authorization: Bearer $ACCESS_TOKEN" "$NTFY_SERVER/$CHANNEL/json") done < <(curl --no-buffer -s -H "Authorization: Bearer $ACCESS_TOKEN" "$NTFY_SERVER/$CHANNEL/json")
# Cleanup PID file on script exit # Cleanup PID file on script exit
trap "rm -f $PID_FILE" EXIT trap 'rm -f $PID_FILE' EXIT