提交 0df2e5b9 编写于 作者: A antirez

Fixed init script bug, thanks to Henrik Westphal

上级 0b4eb5fd
......@@ -28,7 +28,7 @@ case "$1" in
PID=$(cat $PIDFILE)
echo "Stopping ..."
$CLIEXEC -p $REDISPORT shutdown
while [ -x /proc/${PIDFILE} ]
while [ -x /proc/${PID} ]
do
echo "Waiting for Redis to shutdown ..."
sleep 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册