From d09774725e789fad64490401b00ff42b71ed02e8 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 9 Jul 2023 11:49:11 -0400 Subject: [PATCH] Update AutoExtras.service --- radarr/AutoExtras.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/radarr/AutoExtras.service b/radarr/AutoExtras.service index d35710e..c009f38 100644 --- a/radarr/AutoExtras.service +++ b/radarr/AutoExtras.service @@ -55,8 +55,9 @@ AutoExtrasProcess () { fi exec &> >(tee -a "/config/logs/AutoExtras.txt") - if find /config -type f -iname "cookies.txt" | read; then - cookiesFile="$(find /config -type f -iname "cookies.txt" | head -n1)" + # Check for cookies file + if [ -f /config/cookies.txt ]; then + cookiesFile="/config/cookies.txt" log "Cookies File Found!" else log "Cookies File Not Found!"