From b14260281e7abc87c91850c834581fae105bc54e Mon Sep 17 00:00:00 2001 From: ROuGGy Date: Sun, 17 Dec 2023 21:12:19 +0700 Subject: [PATCH] t --- DeleteArr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeleteArr.go b/DeleteArr.go index 9f56611..f6f088a 100644 --- a/DeleteArr.go +++ b/DeleteArr.go @@ -59,7 +59,7 @@ func main() { // os.Setenv("radarr_eventtype", "Download") // os.Setenv("EventType", "Test") - if os.Getenv("radarr_eventtype") == "Test" { + if os.Getenv("radarr_eventtype") == "Test" || os.Getenv("sonarr_eventtype") == "Test" { log.Println("Radarr/Sonarr is testing the script and it works") os.Exit(0) }