fix wait-ready script
fix wait-ready script

As noticed by @bflad, a successful last iteration would result in failure status.
Fixed now.
fxposter/chef-docker,chef-cookbooks/docker,fxposter/chef-docker,chef-cookbooks/docker,fxposter/chef-docker,chef-cookbooks/docker