aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-04 10:29:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-04 10:29:03 -0300
commit2b232de9e195a1b206764767736a42c638fd7847 (patch)
tree7aa8543f1c45db25bfbf131efb653aaace291b49 /files
parentd03a5bade3aec91c7201fd864cb60668b3435a6c (diff)
downloadpuppet-tor-2b232de9e195a1b206764767736a42c638fd7847.tar.gz
puppet-tor-2b232de9e195a1b206764767736a42c638fd7847.tar.bz2
Avoiding annoying messages (2)
Diffstat (limited to 'files')
-rwxr-xr-xfiles/polipo.cron4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/polipo.cron b/files/polipo.cron
index c8d7bd0..aba88bc 100755
--- a/files/polipo.cron
+++ b/files/polipo.cron
@@ -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")