summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-06-14 17:11:44 +0200
committerantirez <antirez@gmail.com>2011-06-14 17:11:44 +0200
commit55937b7972cb990a6f0a69927f7a28d7baf915d9 (patch)
tree1b5e34e618ef772246b7fa5398ecefe9f4421411 /utils
parentb0d68504e9986ffa9f1f80f550a04c4f1898957f (diff)
downloadredis-55937b7972cb990a6f0a69927f7a28d7baf915d9.tar.gz
Fixed init script bug, thanks to Henrik Westphal
Diffstat (limited to 'utils')
-rwxr-xr-xutils/redis_init_script2
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