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

            Bug ID: 7111
           Summary: sa-update: wrong exit code with --checkonly (does not
                    find new versions)
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 5258
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5258&action=edit
Patch to fix the problem.

Hi,

the current sa-update does not report a found new version with its exit code.
The exit code is always 1.

The problem is introduced with the revision 1028033. The commit removes the
exit code setting if a new version is found: 

http://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?r1=1028033&r2=1028032


The attached patch fixes the problem.


Thanks,
Alex

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

Reply via email to