aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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