Commit 55937b79 authored by antirez's avatar antirez
Browse files

Fixed init script bug, thanks to Henrik Westphal

parent b0d68504
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment