t
This commit is contained in:
parent
9bc2bfca04
commit
48db0250da
@ -59,7 +59,7 @@ func main() {
|
|||||||
// os.Setenv("radarr_eventtype", "Download")
|
// os.Setenv("radarr_eventtype", "Download")
|
||||||
// os.Setenv("EventType", "Test")
|
// os.Setenv("EventType", "Test")
|
||||||
|
|
||||||
if os.Getenv("EventType") == "Test" {
|
if os.Getenv("radarr_eventtype") == "Test" {
|
||||||
log.Println("Radarr/Sonarr is testing the script and it works")
|
log.Println("Radarr/Sonarr is testing the script and it works")
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user