Skip to content

Commit

Permalink
Fixed init script bug, thanks to Henrik Westphal
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jun 14, 2011
1 parent b0d6850 commit 55937b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/redis_init_script
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55937b7

Please sign in to comment.