diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-20 22:06:14 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-20 22:06:14 +0000 |
commit | 619d5a1347cf7f557b373312b6f24a82af4cedd9 (patch) | |
tree | eca42f7387e3ea3e7770b172d409dd5201190b59 /configure | |
parent | a3caa8ccd9a48064e7483100ae2b355c52421529 (diff) |
Fix gnutls cert generation failing. Thx owine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7479 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -747,14 +747,14 @@ if ($config{USE_GNUTLS} eq "y") { * few times and get that HD going :) Then answer the * * Questions which follow. If you are unsure, just hit enter * *************************************************************\n\n"; - make_gnutls_cert() or $failed = 1; - if (!$failed) { + $failed = make_gnutls_cert(); + if ($failed) { + print "\n\033[1;32mCertificate generation failed!\033[0m\n\n"; + } else { print "\nCertificate generation complete, copying to config directory... "; system("mv key.pem $config{CONFIG_DIR}/key.pem"); system("mv cert.pem $config{CONFIG_DIR}/cert.pem"); print "Done.\n\n"; - } else { - print "\n\033[1;32mCertificate generation failed!\033[0m\n\n"; } } else { |