diff options
author | antirez <antirez@gmail.com> | 2011-06-14 17:11:44 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-06-14 17:11:44 +0200 |
commit | 55937b7972cb990a6f0a69927f7a28d7baf915d9 (patch) | |
tree | 1b5e34e618ef772246b7fa5398ecefe9f4421411 /utils | |
parent | b0d68504e9986ffa9f1f80f550a04c4f1898957f (diff) | |
download | redis-55937b7972cb990a6f0a69927f7a28d7baf915d9.tar.gz |
Fixed init script bug, thanks to Henrik Westphal
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/redis_init_script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/redis_init_script b/utils/redis_init_script index 96da06836..4dfe98047 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 |