]> git.saurik.com Git - redis.git/blobdiff - utils/redis_init_script
Now HINCRBY can detect overflows too. Fix for issue #330.
[redis.git] / utils / redis_init_script
index 96da068362fd7b01004fc6e1599bc557fbfecf3e..4dfe98047c4a8df34d4f4cad3423e6da1141d770 100755 (executable)
@@ -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