summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-03-26 14:26:53 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-03-26 14:26:53 +0000
commite431b1ef4aefd6dfdd84ee163b2e525d96873041 (patch)
tree044bb14bb18057309760cc51c75723903ad32510
parent8b588fb34013fec2e64f66d15400de9bb264b0c4 (diff)
squid: fix a typo in the init script
-rw-r--r--packages/squid/squid/squid.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/squid/squid/squid.init b/packages/squid/squid/squid.init
index 80573bf6fa..61d9de42dd 100644
--- a/packages/squid/squid/squid.init
+++ b/packages/squid/squid/squid.init
@@ -26,14 +26,14 @@ start() {
cdr=`grepconf cache_dir /var/spool/$NAME`
if [ ! -d "$cdr/00" ]; then
mkdir -p $cdr
- chown $owner $cdr
- $DAEMON -z
+ chown $owner $cdr
+ $DAEMON -z
fi
ldr="/var/log/$NAME"
if [ ! -d "$ldr" ]; then
mkdir -p $ldr
- chown $owner $cdr
+ chown $owner $ldr
fi
start-stop-daemon -S -p $PIDFILE -x $DAEMON