Commit 9b86eecb authored by Yang Tse's avatar Yang Tse
Browse files

Fix trying to return outside of a subroutine

parent 35212da0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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