Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh reporting bad return status of commands



Clint Olsen wrote:
>Interesting.  Then it must be broken on SunOS since it is also set there
>but it doesn't print out the bad exit status.
...
>pdxgp1 ~# ls /foo
>/foo not found

No, it's just that the native ls on SunOS (and Solaris) returns an exit
code of 0 under these circumstances.  A bug in ls?  It wouldn't be the
first one.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author