aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash_include2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_include b/bash_include
index f4581fb..12531df 100644
--- a/bash_include
+++ b/bash_include
@@ -1033,7 +1033,7 @@ function keep_sudo_credential ()
function get_memory_info ()
{
case "`uname`" in
- "Linux")
+ "Linux"|"GNU")
local meminfoline="`free -m | \grep -i mem`"
local swapinfoline="`free -m | \grep -i swap`"
local memtotal="`echo "$meminfoline" | awk '{print $2}'`"