From 8f8ab048ecc247d792d74b2b65fd60c868192c58 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 21 Sep 2023 10:30:40 +0000 Subject: [PATCH] Update functions.bash --- universal/functions.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/universal/functions.bash b/universal/functions.bash index 846a17f..ea18d12 100644 --- a/universal/functions.bash +++ b/universal/functions.bash @@ -1,6 +1,6 @@ log () { m_time=`date "+%F %T"` - echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a /config/logs/$scriptName-$(date +"%Y_%m_%d_%I_%M_%p").txt + echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a "/config/logs/$logFileName" } logfileSetup () {