From d86bec9acf931932721c52cafbedd29d80ea351c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 11 Aug 2024 19:32:55 +0100 Subject: [PATCH] fix(mcb): timestamp disabled for MCB as breaks update check --- lgsm/modules/command_start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lgsm/modules/command_start.sh b/lgsm/modules/command_start.sh index f38125a5e..cca044518 100644 --- a/lgsm/modules/command_start.sh +++ b/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}'"