summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Nagios/Plugin/Getopt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm
index f910c4b..22ff642 100644
--- a/lib/Nagios/Plugin/Getopt.pm
+++ b/lib/Nagios/Plugin/Getopt.pm
@@ -338,7 +338,7 @@ sub _process_extra_opts
338 my $file = ''; 338 my $file = '';
339 339
340 # Parse section@file 340 # Parse section@file
341 if ($extopts =~ m/^(\w*)@(.*?)\s*$/) { 341 if ($extopts =~ m/^([^@]*)@(.*?)\s*$/) {
342 $section = $1; 342 $section = $1;
343 $file = $2; 343 $file = $2;
344 } 344 }