Added + before command

main
Alexey Berezhok 3 months ago
parent 05d102cba7
commit f5f0ac5435

@ -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

Loading…
Cancel
Save