This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: cygcheck exit status
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 5 Jul 2005 16:53:34 -0400
- Subject: Re: cygcheck exit status
- References: <loom.20050705T224501-8@post.gmane.org>
- Reply-to: cygwin-patches at cygwin dot com
On Tue, Jul 05, 2005 at 08:49:06PM +0000, Eric Blake wrote:
>@@ -1677,7 +1681,7 @@ main (int argc, char **argv)
> {
> if (i)
> puts ("");
>- cygcheck (argv[i]);
>+ ok &= cygcheck (argv[i]);
Why are you anding the result here? Why not just set ok = cygcheck (...)?
cgf