Fix trying to return outside of a subroutine
This commit is contained in:
parent
35212da048
commit
9b86eecb94
@ -60,7 +60,7 @@ my $conffile="$path/stunnel.conf"; # stunnel configuration data
|
|||||||
my $certfile="$srcdir/stunnel.pem"; # stunnel server certificate
|
my $certfile="$srcdir/stunnel.pem"; # stunnel server certificate
|
||||||
my $pidfile="$path/.$proto.pid"; # stunnel process pid file
|
my $pidfile="$path/.$proto.pid"; # stunnel process pid file
|
||||||
|
|
||||||
open(CONF, ">$conffile") || return 1;
|
open(CONF, ">$conffile") || exit 1;
|
||||||
print CONF "
|
print CONF "
|
||||||
CApath=$path
|
CApath=$path
|
||||||
cert = $certfile
|
cert = $certfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user