Browse Source
fix(mcb): timestamp disabled for MCB as breaks update check
pull/4595/merge
Daniel Gibbs
8 months ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
1 changed files with
2 additions and
1 deletions
-
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}'" |
|
|
|