Browse Source

fixed command substitution: line 55

Daniel Gibbs 11 years ago
parent
commit
ac8cfe6286
1 changed files with 1 additions and 1 deletions
  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}')