Browse Source

Removed echo that was causing ugly line break

old-stable
Eran 11 years ago
parent
commit
05fe7e0ff2
  1. 2
      usr/local/sbin/easyengine

2
usr/local/sbin/easyengine

@ -813,7 +813,7 @@ EE_SYSTEM_STATUS()
if [[ $SWAP_TOTAL > 0 ]] if [[ $SWAP_TOTAL > 0 ]]
then then
SWAP_USED=$(free | grep Swap: | awk '{print $3}') SWAP_USED=$(free | grep Swap: | awk '{print $3}')
SWAP_USAGE=$(echo "$SWAP_USED*100/$SWAP_TOTAL" | bc -l | cut -d'.' -f1 && echo "%") SWAP_USAGE=$(echo "$SWAP_USED*100/$SWAP_TOTAL" | bc -l | cut -d'.' -f1)%
else else
SWAP_USAGE=$(echo "N/A") SWAP_USAGE=$(echo "N/A")
fi fi

Loading…
Cancel
Save