Fixed init script bug, thanks to Henrik Westphal

This commit is contained in:
antirez 2011-06-14 17:11:44 +02:00
parent b0d68504e9
commit 55937b7972

View File

@ -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