]> gitweb.fluxo.info Git - httruta.git/commitdiff
Httrack already logs
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Aug 2015 19:35:44 +0000 (16:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Aug 2015 19:35:44 +0000 (16:35 -0300)
lib/httracker/functions

index f43dae7099d1d6dbb488a5e270e7e51576ea9bd7..25109d474e4514b169a810a19ff2808f109bd9af 100644 (file)
@@ -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