Browse Source

fix(mcb): timestamp disabled for MCB as breaks update check

pull/4595/merge
Daniel Gibbs 8 months ago
parent
commit
d86bec9acf
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 3
      lgsm/modules/command_start.sh

3
lgsm/modules/command_start.sh

@ -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}'"

Loading…
Cancel
Save