From: Silvio Rhatto Date: Sun, 25 Aug 2013 19:47:59 +0000 (-0300) Subject: Minor fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=18cdc9bae7396ee3e6fcb59e498fb93cdd9b3063;p=httruta.git Minor fix --- diff --git a/httracker b/httracker index b5fea9b..df08f03 100755 --- a/httracker +++ b/httracker @@ -39,7 +39,7 @@ function httracker_get { #-e%${EXT_LEVEL} \ #-m$FILESIZE \ - if [ "$1" == "0" ]; then + if [ "$?" == "0" ]; then # Mark as downloaded touch $target/ok else