SF.net SVN: postfixadmin:[427] trunk/VIRTUAL_VACATION/vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2008-07-29 19:52:58
|
Revision: 427 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=427&view=rev Author: GingerDog Date: 2008-07-29 19:53:08 +0000 (Tue, 29 Jul 2008) Log Message: ----------- vacation.pl: applying patch from luxten - see https://sourceforge.net/tracker/index.php?func=detail&aid=2031659&group_id=191583&atid=937966 - thanks! Modified Paths: -------------- trunk/VIRTUAL_VACATION/vacation.pl Modified: trunk/VIRTUAL_VACATION/vacation.pl =================================================================== --- trunk/VIRTUAL_VACATION/vacation.pl 2008-07-29 19:32:32 UTC (rev 426) +++ trunk/VIRTUAL_VACATION/vacation.pl 2008-07-29 19:53:08 UTC (rev 427) @@ -164,7 +164,7 @@ # Violation of a primay key constraint may happen here, and that's # fine. All other error conditions are not fine, however. - if ($e !~ /_pkey/) { + if ($e !~ /(?:_pkey|^Duplicate entry)/) { do_log('',$to,$from,'',"Unexpected error: '$e' from query '$query'"); # Let's play safe and notify anyway This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |