Ver Fonte

fixed command substitution: line 55

Daniel Gibbs há 11 anos atrás
pai
commit
ac8cfe6286
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      functions/fn_details_distro

+ 1 - 1
functions/fn_details_distro

@@ -51,7 +51,7 @@ fi
 physmemtotal=$(free ${option} | awk '/Mem:/ {print $2}')
 physmemused=$(free ${option} | awk '/Mem:/ {print $3}')
 physmemfree=$(free ${option} | awk '/Mem:/ {print $4}')
-swaptotal=$(free ${option} | | awk '/Swap:/ {print $2}')
+swaptotal=$(free ${option} | awk '/Swap:/ {print $2}')
 swapused=$(free ${option} | awk '/Swap:/ {print $3}')
 swapfree=$(free ${option} | awk '/Swap:/ {print $4}')