From 6dc54569c2303c79903e89c8b96bf7663aaecc9f Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 24 Aug 2022 04:02:06 -0400 Subject: return rather than goto a label that doesn't exist in the subroutine --- gmi.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gmi.pl b/gmi.pl index 4ab8b3f..7fb9401 100755 --- a/gmi.pl +++ b/gmi.pl @@ -7,7 +7,7 @@ use warnings; use 5.010; #use diagnostics; -our $VERSION = 'v0.16.1'; +our $VERSION = 'v0.16.2'; # Modules use IO::Socket::SSL; # CPAN @@ -229,7 +229,7 @@ sub respond_to_client { my $redirect = check_for_config_redirection($vhost, $path, $redirection); if ($redirect) { speak($cl, 'redirect', $redirect); - goto CLOSE; + return; } } -- cgit v1.2.3