From 44c599e669ffdbfa91cb157e3aea794516cfa25d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 2 Aug 2015 16:35:44 -0300 Subject: Httrack already logs --- lib/httracker/functions | 7 ++----- 1 file 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 -- cgit v1.2.3