Parcourir la source

fixed command substitution: line 55

Daniel Gibbs il y a 11 ans
Parent
commit
ac8cfe6286
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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}')