Brett Glass <brett@lariat.net> wrote:
> As I understand it, when it comes to UNIX result codes, 0 doesn't
> really mean "true" -- it means "no error." (In other words, it
> means "false.") Whereas any nonzero value means there was an error
> (and indicates what kind). In other words, it means that it's
> "true" that there was an error.
You are very confused.
$ true; echo $?
0
$ false; echo $?
1
--
Christian "naddy" Weisgerber naddy@mips.inka.de
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"