SA Bugzilla – Bug 4656
AWL throws unnecessary error if lockfile creation failed
Last modified: 2005-10-31 09:24:55 UTC
If Plugin/AWL.pm fails to create a lock file, $whitelist remains undef and the eval attempt to clean it up drops an unnecessary error line (into my syslog): Oct 31 11:33:26 ralph spamd[643]: Can't call method "finish" on an undefined value at /usr/share/perl5/ Mail/SpamAssassin/Plugin/AWL.pm line 397. The one-liner fix is probably obvious but I'll attach a patch in a moment, anyway.
Created attachment 3221 [details] One-liner fix
*** This bug has been marked as a duplicate of 4617 ***