diff options
Diffstat (limited to 'gmi.pl')
-rwxr-xr-x | gmi.pl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -7,7 +7,7 @@ use warnings; use 5.010; #use diagnostics; -our $VERSION = 'v0.17.0'; +our $VERSION = 'v0.17.1'; # Modules use IO::Socket::SSL; # CPAN @@ -1092,6 +1092,7 @@ sub redirection_parameter { $vhost = 'default'; } + ## no critic (cascading) if ($r eq 'no') { return 0; } @@ -1101,9 +1102,10 @@ sub redirection_parameter { elsif ($r eq 'regex') { return 2; } - else { + elsif ($r) { serr("'$vhost': Given redirection parameter is invalid: $r"); } + return; } |