diff options
Diffstat (limited to 'network/polipo/rc.polipo')
-rw-r--r-- | network/polipo/rc.polipo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/polipo/rc.polipo b/network/polipo/rc.polipo index c08ae73250..419e9b0fad 100644 --- a/network/polipo/rc.polipo +++ b/network/polipo/rc.polipo @@ -5,12 +5,13 @@ PIDFILE="/var/run/polipo/polipo.pid" start() { echo "Starting polipo..." + mkdir -p $(dirname $PIDFILE) polipo daemonise=true pidFile=$PIDFILE } stop() { echo "Stopping polipo..." - kill `cat $PIDFILE` + kill $(cat $PIDFILE) } case "$1" in |