From bed6e76ba335040fc1f4fc16a5737fb115bc440b Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:11:10 -0400 Subject: [PATCH] bytes, not KB --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 989b737..5bb996c 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -901,7 +901,7 @@ winetricks_check() { # Check system memory and swap space memory_check() { - # Get totals in KB + # Get totals in bytes memtotal="$(LC_NUMERIC=C awk '/MemTotal/ {printf $2}' /proc/meminfo)" swaptotal="$(LC_NUMERIC=C awk '/SwapTotal/ {printf $2}' /proc/meminfo)" memtotal="$(($memtotal * 1024))"