File check_amavis_strict_mode_fix.patch of Package monitoring-plugins-amavis

Index: monitoring-plugin-check_amavis-1.1/check_amavis.pl
===================================================================
--- monitoring-plugin-check_amavis-1.1.orig/check_amavis.pl
+++ monitoring-plugin-check_amavis-1.1/check_amavis.pl
@@ -9,6 +9,8 @@
 use Getopt::Long;
 use MIME::Entity;
 use Net::SMTP;
+use strict;
+use warnings;
 
 my $server = '';
 my $port = 10024;
@@ -25,7 +27,7 @@ my %STATES = (
 	"DEPENDENT" => 4,
 );
 
-$result = GetOptions (
+GetOptions (
 	"server|s=s"    => \$server,
 	"port|p=s"      => \$port,
 	"from|f=s"      => \$from,
openSUSE Build Service is sponsored by