aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-02 16:35:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-02 16:35:44 -0300
commit44c599e669ffdbfa91cb157e3aea794516cfa25d (patch)
treede4f5912643a34f0f913af5ebda295f20588107c
parent1a627790377ef0f75c53d20a7f7b31cb44306b41 (diff)
downloadhttruta-44c599e669ffdbfa91cb157e3aea794516cfa25d.tar.gz
httruta-44c599e669ffdbfa91cb157e3aea794516cfa25d.tar.bz2
Httrack already logs
-rw-r--r--lib/httracker/functions7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index f43dae7..25109d4 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -45,9 +45,6 @@ function httracker_get {
# Basic options
httracker_opts
- # Log options
- OPTS="$OPTS --file-log $LOG"
-
# Additional options
if [ "`whoami`" == "root" ]; then
OPTS="$OPTS --user $USER"
@@ -95,7 +92,7 @@ function httracker_get_incremental {
fi
# Grab URLs from the network
- httrack ${OPTS} --list ${URLS} | tee $LOG
+ httrack ${OPTS} --list ${URLS}
# Fix permissions again
if [ "`whoami`" != "$USER" ] && [ "`whoami`" == "root" ]; then
@@ -169,7 +166,7 @@ function httracker_initialize {
httracker_set_lockfile
# Logfile
- LOG="${TMP}/`basename $0`.log"
+ #LOG="${TMP}/`basename $0`.log"
}
# Cleanup environment