On Tue, Jan 17, 2012 at 11:41:41AM +0100, Lars Ellenberg wrote:
> On Tue, Jan 17, 2012 at 11:07:09AM +0900, nozawat wrote:
> > Hi Dejan and Lars,
> > 
> > I send the patch which I revised according to indication of Lars.
> > 
> > >> OK. I guess that this won't introduce a regression. And I guess
> > >> that sometimes one may need a newline in the test string.
> > I seemed to surely take such a step in the past.
> > However, I thought that the tr processing was deleted that load became 
> > higher.
> > Therefore I used the -z option.
> 
> Thinking about it, maybe to reduce chance of regression,
> we can try both?
> I'm not sure about the default order, ipv4 or ipv6 first?
> 
> for bind_address in 127.0.0.1 ::1 ; do
>       wget ...
>       ret=$?
>       [ $ret = 0 ] && break;
>       # recent wget could [ $ret != 4 ] && break,
>       # "Network error". But older wget return 1...
> done
> 
> Dejan?

Yes, that looks like the best way.

Cheers,

Dejan

> -- 
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to