Skip to content
Browse files

Fixed init script bug, thanks to Henrik Westphal

  • Loading branch information...
1 parent 13572dc commit f2ac94876d162f60943b24edba4e21b9863e23fc @antirez antirez committed Jun 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/redis_init_script
View
2 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

0 comments on commit f2ac948

Please sign in to comment.
Something went wrong with that request. Please try again.