Skip to content

Commit

Permalink
fix(stats): servers with sessin only checking will now show in stats
Browse files Browse the repository at this point in the history
game servers with session only checks were not showing up in stats. This includes the new Palworld server
  • Loading branch information
dgibbs64 committed Jan 24, 2024
1 parent 4e72b08 commit 78f4735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lgsm/modules/command_monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ fn_monitor_check_session() {
fn_print_ok "Checking session: "
fn_print_ok_eol_nl
fn_script_log_pass "Checking session: OK"
# send LinuxGSM stats if monitor is OK.
if [ "${stats}" == "on" ] || [ "${stats}" == "y" ] && [ "${querymode}" == "1" ]; then
info_stats.sh
fi
else
fn_print_error "Checking session: "
fn_print_fail_eol_nl
Expand Down

0 comments on commit 78f4735

Please sign in to comment.