From f3c2881340383597cb2d7e379c35a4008e7b2ae5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Sep 2013 11:00:19 -0300 Subject: Minor fix at total urls calculation --- lib/httracker/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3