diff --git a/plugins/other/pure-ftpd-bw b/plugins/other/pure-ftpd-bw index 4d960874..2d717200 100755 --- a/plugins/other/pure-ftpd-bw +++ b/plugins/other/pure-ftpd-bw @@ -59,9 +59,9 @@ TMP1=`mktemp` if [ -f $TMP1 ]; then $LOGTAIL -o $OFFSET_FILE $LOGFILE | grep 'GET \|PUT ' > $TMP1 echo -n "dl.value " - awk '/GET / {DL = DL + $NF} END {print DL}' + awk '/GET / {DL = DL + $NF} END {print DL}' $TMP1 echo -n "ul.value " - awk '/PUT / {UL = UDL + $NF} END {print UL}' + awk '/PUT / {UL = UDL + $NF} END {print UL}' $TMP1 rm $TMP1 else echo "cant create temp file"