From 15ecd4570019a9e31909108cbdffec1fbc6d34a2 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 10 Jul 2023 10:55:29 +0000 Subject: [PATCH] v1.1 - correct error --- sonarr/AutoConfig.service | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sonarr/AutoConfig.service b/sonarr/AutoConfig.service index aa71af1..5c95ce4 100644 --- a/sonarr/AutoConfig.service +++ b/sonarr/AutoConfig.service @@ -1,5 +1,10 @@ #!/usr/bin/env bash -scriptVersion="1.0" +scriptVersion="1.1" + +log () { + m_time=`date "+%F %T"` + echo $m_time" :: AutoConfig :: $scriptVersion :: "$1 +} getArrAppInfo () { # Get Arr App information @@ -51,10 +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