aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 23:48:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 23:48:54 -0300
commit588ed5a400d69c806d4c708dc726c878f42de999 (patch)
tree0e6dd5594b0e24f3ac92fbda3ed87ee7a67976e4
parent6f760482f636500d9823305f9023de188c1173f9 (diff)
downloadhttruta-588ed5a400d69c806d4c708dc726c878f42de999.tar.gz
httruta-588ed5a400d69c806d4c708dc726c878f42de999.tar.bz2
Initial log file support (2)
-rw-r--r--lib/httracker/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index b2a48ef..004e296 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -45,7 +45,7 @@ function httracker_get {
fi
# Get each URL
- httrack ${OPTS} ${url} > $LOG
+ httrack ${OPTS} ${url} | tee $LOG
if [ "$?" == "0" ]; then
# Mark as downloaded
@@ -74,7 +74,7 @@ function httracker_get_incremental {
fi
# Grab URLs from the network
- httrack ${OPTS} --list ${URLS} > $LOG
+ httrack ${OPTS} --list ${URLS} | tee $LOG
}
# Get SemanticScuttle parameter