From d3113f7f42435b5c2f93954d957889ae8a34365f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 30 Jul 2024 12:52:53 +0000 Subject: [PATCH] Update functions.bash #87 - Fix? --- universal/functions.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/universal/functions.bash b/universal/functions.bash index a7958b2..dc51a0e 100644 --- a/universal/functions.bash +++ b/universal/functions.bash @@ -1,6 +1,7 @@ log () { m_time=`date "+%F %T"` - echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a "/config/logs/$logFileName" + echo $m_time" :: $scriptName :: $scriptVersion :: "$1 + echo $m_time" :: $scriptName :: $scriptVersion :: "$1 >> "/config/logs/$logFileName" } logfileSetup () {