Added + before command
This commit is contained in:
@@ -7,7 +7,7 @@ debug_out_function(){
|
|||||||
dt="[$(date -Is)]"
|
dt="[$(date -Is)]"
|
||||||
res1=${res#*debug_out_function}
|
res1=${res#*debug_out_function}
|
||||||
result="${res1%%$pattern*}"
|
result="${res1%%$pattern*}"
|
||||||
echo "$dt ${result# }"
|
echo "$dt + ${result# }"
|
||||||
}
|
}
|
||||||
exec 3>&1 1> >(tee -a "$DEBUG_LOG_FILE") 2>&1
|
exec 3>&1 1> >(tee -a "$DEBUG_LOG_FILE") 2>&1
|
||||||
trap "debug_out_function $BASH_COMMAND>>$DEBUG_LOG_FILE" DEBUG
|
trap "debug_out_function $BASH_COMMAND>>$DEBUG_LOG_FILE" DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user