mirror of https://github.com/redis/redis.git
Fixed init script bug, thanks to Henrik Westphal
This commit is contained in:
parent
13572dc21b
commit
f2ac94876d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue