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

            Bug ID: 7012
           Summary: Sa-update is giving an odd exit status
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: critical
          Priority: P2
         Component: sa-update
          Assignee: [email protected]
          Reporter: [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.

  $ curl -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time
300 --fail -o 1567423.tar.gz -- http://www.sa-update.pccc.com/1567423.tar.gz
  curl: (22) The requested URL returned error: 404 Not Found
  $ echo $?
  22

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

Reply via email to