Skip to content

Commit d3113f7

Browse files
Update functions.bash
#87 - Fix?
1 parent 0965f6b commit d3113f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

universal/functions.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
log () {
22
m_time=`date "+%F %T"`
3-
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 2>&1 | tee -a "/config/logs/$logFileName"
3+
echo $m_time" :: $scriptName :: $scriptVersion :: "$1
4+
echo $m_time" :: $scriptName :: $scriptVersion :: "$1 >> "/config/logs/$logFileName"
45
}
56

67
logfileSetup () {

0 commit comments

Comments
 (0)