https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7012

Mark Martinec <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows 7                   |All
           Severity|critical                    |minor

--- Comment #1 from Mark Martinec <[email protected]> ---
> look at the exit code handling from curl.
>   dbg: http: process [7337], exit status: 5632
> 
> Of course it can't be 5632 since that is outside the possible 0-255
> range.  When I try it manually I see that the actual exit code is 22.

It's a cosmetic issue  :)

The exit status word is composed of two bytes, the lower byte
holds the signal, the upper byte holds the 'normal' exit status.

In the case above the 5632 is 0x1600, so exit code was 22 (decimal),
i.e. 5632 >> 8.

The sa-update should use the proc_status_ok() and exit_status_str()
from Mail::SpamAssassin::Util to check and pretty-print the exit
status.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to