aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-21 17:50:30 +0000
committerYang Tse <yangsita@gmail.com>2007-11-21 17:50:30 +0000
commit9b86eecb9492c5723a762962567b2ff0b32541fa (patch)
tree0e1c61c6fc9bc256d256c7f379e3728cce9997a9 /tests
parent35212da048c8056e07d2b177ff8e82dabc7a37f4 (diff)
Fix trying to return outside of a subroutine
Diffstat (limited to 'tests')
-rw-r--r--tests/httpsserver.pl2
1 files changed, 1 insertions, 1 deletions
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