X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b0d68504e9986ffa9f1f80f550a04c4f1898957f..bec200ec399690fb7203257732cd2a6b47bdb962:/utils/redis_init_script?ds=sidebyside 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