svn rev #24138: trunk/src/ lib/krb5/os/
Greg Hudson
ghudson at MIT.EDU
Fri Jun 18 17:28:04 EDT 2010
On Fri, 2010-06-18 at 15:41 -0400, tlyu at MIT.EDU wrote:
> + if [ "$(OFFLINE)" = no ] && \
> + $(DIG) $(SRVNAME) srv | grep -i $(DIGPAT) || \
> + $(NSLOOKUP) -q=srv $(SRVNAME) | grep -i $(NSPAT); then
I believe this will cause the test to be run if OFFLINE=no but nslookup
succeeds--false && false || true has exit status 0. Parenthesizing the
dig || nslookup pipeline ought to work.
More information about the krbdev
mailing list