summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")