diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-25 11:00:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-25 11:00:19 -0300 |
commit | f3c2881340383597cb2d7e379c35a4008e7b2ae5 (patch) | |
tree | 11154fd3d0070bdd0da494016d623d8134732803 | |
parent | 9560b284d5ef3879032d8e8c606561cc017c10dc (diff) | |
download | httruta-f3c2881340383597cb2d7e379c35a4008e7b2ae5.tar.gz httruta-f3c2881340383597cb2d7e379c35a4008e7b2ae5.tar.bz2 |
Minor fix at total urls calculation
-rw-r--r-- | lib/httracker/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions index ea56f94..8d03ba1 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -110,7 +110,7 @@ function httracker_sqlquery { # Iterate over all URLs function httracker_iterate { local i=1 - local t="`wc -l $URLS`" + local t="`wc -l $URLS | cut -d ' ' -f 1`" for link in `cat $URLS | xargs`; do # Fix entities |