We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90a68a commit c60ecb3Copy full SHA for c60ecb3
lgsm/modules/check_system_requirements.sh
@@ -63,7 +63,7 @@ fi
63
64
# If the game or engine has a minimum RAM Requirement, compare it to system's available RAM.
65
if [ "${ramrequirementgb}" ]; then
66
- if [ "${physmemtotalgb}" -lt "${ramrequirementgb}" ]; then
+ if (($(echo "${physmemtotalgb} < ${ramrequirementgb}" | bc -l))); then
67
fn_print_dots "Checking RAM"
68
fn_print_warn_nl "Checking RAM: ${ramrequirementgb}G required, ${physmemtotal} available"
69
echo "* ${gamename} server may fail to run or experience poor performance."
0 commit comments