delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/26/07:04:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 26 Dec 2004 13:03:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange behaviour in the which command.
Message-ID: <20041226120314.GB20048@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <41CEA002 DOT 7080504 AT luc DOT ac DOT be>
Mime-Version: 1.0
In-Reply-To: <41CEA002.7080504@luc.ac.be>
User-Agent: Mutt/1.4.2i

On Dec 26 12:26, Michel Van den Bergh wrote:
> Hi,
> 
> I am running a recent version of Cygwin.
> 
> Problem: the command 'which' seems to return succesfully when it shouldn't.
> 
> When I do
> 
> which programthatdoesnotexist
> echo $?
> 
> I get the value 0.
> 
> Can somebody confirm this? Is this a bug? If so how to fix it?

Confirmed.  I'll upload a fixed version of which soon.

Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019