Commit 19731d52 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent 01d65606
......@@ -120,7 +120,7 @@ if (! -e $CLIENTCERT || $regen) {
if (! -e $DHFILE || $regen) {
print "Creating OpenVPN Diffie Hellman key file ...\n";
system("$OPENSSL dhparam -out $DHFILE 1024")
system("$OPENSSL dhparam -out $DHFILE 1024") == 0
or fatal("Could not generate $DHFILE");
}
exit(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment