You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Warren Togami <wt...@redhat.com> on 2007/02/10 16:25:37 UTC

sa-update and missing deps

Hey folks,

Is it possible to modify sa-update to output a meaningful error message 
if it fails due to missing dependencies?

(A different non-zero return code would be nice too.)

Warren Togami
wtogami@redhat.com

Re: sa-update and missing deps

Posted by Theo Van Dinter <fe...@apache.org>.
On Sat, Feb 10, 2007 at 10:25:37AM -0500, Warren Togami wrote:
> Is it possible to modify sa-update to output a meaningful error message 
> if it fails due to missing dependencies?
> 
> (A different non-zero return code would be nice too.)

ie: instead of the standard perl "can't load module X" error, you want
us to catch that error and display something like "The required module
X can't be loaded" ?

It could probably be done, though it'd be better to do it for all of SA.  And
then arguably, the standard perl error is well, standard, so changing it may
not really be a good idea.

-- 
Randomly Selected Tagline:
"Just 'cuz I don't have an IP doesn't mean I'm not on your network."
                                 - Mike Poor