Skip to content

Commit

Permalink
fix(mcb): timestamp disabled for MCB as breaks update check
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Aug 11, 2024
1 parent 4c9223c commit d86bec9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lgsm/modules/command_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ fn_start_tmux() {

# Enable console logging.
if [ "${consolelogging}" == "on" ] || [ -z "${consolelogging}" ]; then
if [ "${logtimestamp}" == "on" ]; then
# timestamp will break mcb update check.
if [ "${logtimestamp}" == "on" ] && [ "${shortname}" != "mcb" ]; then
tmux -L "${socketname}" pipe-pane -o -t "${sessionname}" "exec bash -c \"cat | $addtimestamp\" >> '${consolelog}'"
else
tmux -L "${socketname}" pipe-pane -o -t "${sessionname}" "exec cat >> '${consolelog}'"
Expand Down

0 comments on commit d86bec9

Please sign in to comment.