Strange behaviour in the which command.

Corinna Vinschen
Sun Dec 26 12:03:00 GMT 2004

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list