From: antirez Date: Tue, 14 Jun 2011 15:11:44 +0000 (+0200) Subject: Fixed init script bug, thanks to Henrik Westphal X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/55937b7972cb990a6f0a69927f7a28d7baf915d9 Fixed init script bug, thanks to Henrik Westphal --- 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