From 9b86eecb9492c5723a762962567b2ff0b32541fa Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 21 Nov 2007 17:50:30 +0000 Subject: [PATCH] Fix trying to return outside of a subroutine --- tests/httpsserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/httpsserver.pl b/tests/httpsserver.pl index 648b148df..3cc6c1ea9 100644 --- a/tests/httpsserver.pl +++ b/tests/httpsserver.pl @@ -60,7 +60,7 @@ my $conffile="$path/stunnel.conf"; # stunnel configuration data my $certfile="$srcdir/stunnel.pem"; # stunnel server certificate my $pidfile="$path/.$proto.pid"; # stunnel process pid file -open(CONF, ">$conffile") || return 1; +open(CONF, ">$conffile") || exit 1; print CONF " CApath=$path cert = $certfile