From 27eb97d604e2f085f02a1f95cbfd5d36f9dea488 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 10 Jul 2023 10:56:06 +0000 Subject: [PATCH] v1.2 - correct error --- radarr/AutoConfig.service | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/radarr/AutoConfig.service b/radarr/AutoConfig.service index 826858e..cae3fe3 100644 --- a/radarr/AutoConfig.service +++ b/radarr/AutoConfig.service @@ -1,5 +1,10 @@ #!/usr/bin/env bash -scriptVersion="1.1" +scriptVersion="1.2" + +log () { + m_time=`date "+%F %T"` + echo $m_time" :: AutoConfig :: $scriptVersion :: "$1 +} getArrAppInfo () { # Get Arr App information @@ -51,11 +56,6 @@ if [ ! -f "/config/logs/AutoConfig.txt" ]; then fi exec &> >(tee -a "/config/logs/AutoConfig.txt") -log () { - m_time=`date "+%F %T"` - echo $m_time" :: AutoConfig :: $scriptVersion :: "$1 -} - if [ -f /config/extended/naming.json ]; then log "Using custom Naming (/config/extended/naming.json)..." namingJson=$(cat /config/extended/naming.json)