projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applications/luci-polipo: fix typo in polipo_purge script (#523)
[project/luci.git]
/
applications
/
luci-polipo
/
root
/
usr
/
sbin
/
polipo_purge
diff --git
a/applications/luci-polipo/root/usr/sbin/polipo_purge
b/applications/luci-polipo/root/usr/sbin/polipo_purge
index
ce7c885
..
23ba571
100755
(executable)
--- a/
applications/luci-polipo/root/usr/sbin/polipo_purge
+++ b/
applications/luci-polipo/root/usr/sbin/polipo_purge
@@
-5,7
+5,7
@@
PIDFILE=`uci get polipo.daemon.pidFile`
CFGFILE=/var/etc/polipo.conf
[ -e "$PIDFILE" ] && {
CFGFILE=/var/etc/polipo.conf
[ -e "$PIDFILE" ] && {
- PID=`cat $PID
_
FILE`
+ PID=`cat $PIDFILE`
# send Polipo USR1 signal to write its in-memory cache to disk
kill -USR1 $PID
# send Polipo USR1 signal to write its in-memory cache to disk
kill -USR1 $PID