[15903] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: svn rev #24138: trunk/src/ lib/krb5/os/

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Jun 18 17:28:08 2010

From: Greg Hudson <ghudson@mit.edu>
To: "krbdev@MIT.EDU" <krbdev@mit.edu>
In-Reply-To: <201006181941.o5IJfmwP024007@drugstore.mit.edu>
Date: Fri, 18 Jun 2010 17:28:04 -0400
Message-ID: <1276896484.12977.182.camel@ray>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On Fri, 2010-06-18 at 15:41 -0400, tlyu@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.


_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post