aboutsummaryrefslogtreecommitdiff
path: root/httracker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 16:47:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 16:47:59 -0300
commit18cdc9bae7396ee3e6fcb59e498fb93cdd9b3063 (patch)
tree2bdbcbd5ced0a0c369f67b61a8ec4c823527cf1d /httracker
parentd1bb07361169aa0b952af180290b4cd122145193 (diff)
downloadhttruta-18cdc9bae7396ee3e6fcb59e498fb93cdd9b3063.tar.gz
httruta-18cdc9bae7396ee3e6fcb59e498fb93cdd9b3063.tar.bz2
Minor fix
Diffstat (limited to 'httracker')
-rwxr-xr-xhttracker2
1 files changed, 1 insertions, 1 deletions
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