X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b0d68504e9986ffa9f1f80f550a04c4f1898957f..a400a9b2d753fcfc90aa234019ab7afd21966509:/utils/redis_init_script diff --git a/utils/redis_init_script b/utils/redis_init_script index 96da0683..4dfe9804 100755 --- a/utils/redis_init_script +++ b/utils/redis_init_script @@ -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