]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Avoiding annoying messages (2)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 4 May 2011 13:29:03 +0000 (10:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 4 May 2011 13:29:03 +0000 (10:29 -0300)
files/polipo.cron

index c8d7bd023356aff5071e094cafb2ad8da5915766..aba88bce4008b59fef7c6849b22df8077515b05a 100755 (executable)
@@ -17,6 +17,6 @@ PIDFILE=/var/run/polipo/polipo.pid
 # TODO: remove redirect stderr to /dev/null after the following bug is solved:
 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580434
 su -c \
-       "nice polipo -x -c $CONFIG_FILE forbiddenFile=$FORBIDDEN_FILE &> /dev/null" \
-       proxy
+       "nice polipo -x -c $CONFIG_FILE forbiddenFile=$FORBIDDEN_FILE > /dev/null" \
+       proxy &> /dev/null
 [ -f "$PIDFILE" ] && kill -USR2 $(cat "$PIDFILE")