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