Skip to content

Commit

Permalink
Merge branch 'hotfix/v19.12.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 4, 2019
2 parents d36b7cc + 583537d commit c1a6410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lgsm/functions/command_monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ for queryattempt in {1..5}; do
fn_sleep_time
monitorpass=1
# send LinuxGSM stats if monitor is OK.
if [ "${stats}" == "on" ]; then
if [ "${stats}" == "on" ]||[ "${stats}" == "y" ]; then
info_stats.sh
fi
if [ "${querystatus}" == "0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion lgsm/functions/install_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo -e "* game server resource usage"
echo -e "* server hardware info"
if [ -z "${autoinstall}" ]; then
if fn_prompt_yn "Allow anonymous usage statistics?" Y; then
echo "stats=\"y\"" >> "${configdirserver}/common.cfg"
echo "stats=\"on\"" >> "${configdirserver}/common.cfg"
fn_print_information_nl "Stats setting is now enabled in common.cfg."
fi
else
Expand Down

0 comments on commit c1a6410

Please sign in to comment.