fix several bugs of init.d scripts

- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
This commit is contained in:
quiver
2012-05-04 13:42:03 +02:00
committed by antirez
parent 0cf10e8e86
commit 7f10703b33
+1 -1
View File
@@ -1,7 +1,7 @@
case "$1" in
start)
if [ -f $$PIDFILE ]
if [ -f $PIDFILE ]
then
echo "$PIDFILE exists, process is already running or crashed"
else