From 7f10703b3318e5490d70cd89af5f0953e6041860 Mon Sep 17 00:00:00 2001 From: quiver Date: Fri, 4 May 2012 20:07:00 +0900 Subject: [PATCH] fix several bugs of init.d scripts - PIDFILE environ variable was not properly retrieved - chkconfig command failed --- utils/redis_init_script.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/redis_init_script.tpl b/utils/redis_init_script.tpl index e0c5b2f8..e2af1fe7 100755 --- a/utils/redis_init_script.tpl +++ b/utils/redis_init_script.tpl @@ -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 -- 2.50.0