Fixed some issues
This commit is contained in:
@@ -21,7 +21,7 @@ log() {
|
||||
|
||||
# Dispatch to the Central Logging Daemon via MQTT
|
||||
# We use -q 0 (fire and forget) so the game script doesn't wait
|
||||
mosquitto_pub -h 127.0.0.1 -t "$LOG_TOPIC" -m "SaveLog=$log_line" 2>/dev/null
|
||||
mosquitto_pub -h 127.0.0.1 -p 1833 -q 0 -t "$LOG_TOPIC" -m "SaveLog=$log_line" 2>/dev/null
|
||||
|
||||
# Local debugging
|
||||
[ "${DEBUG_MODE:-0}" -eq 1 ] && printf "%s\n" "$log_line"
|
||||
|
||||
Reference in New Issue
Block a user