Fixed init script bug, thanks to Henrik Westphal

This commit is contained in:
antirez
2011-06-14 17:12:14 +02:00
parent 0b4eb5fd21
commit 0df2e5b9d5
+1 -1
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