mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-07 03:26:50 +08:00
fix(mcb): timestamp disabled for MCB as breaks update check
This commit is contained in:
parent
4c9223c88d
commit
d86bec9acf
@ -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…
Reference in New Issue
Block a user