aboutsummaryrefslogtreecommitdiff
path: root/httracker
diff options
context:
space:
mode:
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