From 668dd0c840656ed7e327417117513f708a870f2e Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 19 Jul 2023 14:45:37 +0000 Subject: [PATCH] 1.3 - logging fixes --- radarr/UnmappedFolderCleaner.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/radarr/UnmappedFolderCleaner.bash b/radarr/UnmappedFolderCleaner.bash index 66f33b7..c8ec687 100644 --- a/radarr/UnmappedFolderCleaner.bash +++ b/radarr/UnmappedFolderCleaner.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.2" +scriptVersion="1.3" scriptName="UnmappedFolderCleaner" log () { @@ -17,9 +17,12 @@ logfileSetup () { touch "/config/logs/$scriptName.txt" chmod 666 "/config/logs/$scriptName.txt" fi - exec &> >(tee -a "/config/logs/$scriptName.txt") } +# Create Log, start writing... +logfileSetup +exec &> >(tee -a "/config/logs/$scriptName.txt") + verifyConfig () { #### Import Settings source /config/extended.conf