This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Strange behaviour in the which command.
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 26 Dec 2004 13:03:14 +0100
- Subject: Re: Strange behaviour in the which command.
- References: <41CEA002.7080504@luc.ac.be>
- Reply-to: cygwin at cygwin dot com
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@cygwin.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/