Re: why is this not a bug?
| From: | Kevin Beckford | Date: | Thu, 13 Jul 2000 13:58:36 +0000 |
| Subject: | Re: why is this not a bug? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6441@lists.php.net to get a copy of this message | ||
> If I configure php4 such that I tell it sendmail_path is /usr/local/turkey -t
> (not a valid filename) it, still merrily returns '1' when I invoke mail().
How
> can it return a true value on a command that has to fail?
Unix exit code for success is 0 . An exit status of 1 indicates an error. It
seems to me that this is working properly, unless you renamed or soft linked to
sendmail for some reason.