Răsfoiți Sursa

fix the fix for #1143 (close double quote)

UltimateByte 9 ani în urmă
părinte
comite
bd77c9fa68
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      lgsm/functions/info_distro.sh

+ 1 - 1
lgsm/functions/info_distro.sh

@@ -73,7 +73,7 @@ physmemtotalmb=$(free -m | awk '/Mem:/ {print $2}')
 physmemused=$(free ${humanreadable} | awk '/Mem:/ {print $3}')
 physmemfree=$(free ${humanreadable} | awk '/Mem:/ {print $4}')
 physmemcached=$(free ${humanreadable} | awk '/cache:/ {print $4}')
-if [ -z "${physmemcached} ]; then
+if [ -z "${physmemcached}" ]; then
 	physmemcached=$(free ${humanreadable} | awk '/Mem:/ {print $5}')
 fi
 swaptotal=$(free ${humanreadable} | awk '/Swap:/ {print $2}')