summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ldap2apache4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ldap2apache b/bin/ldap2apache
index 87b1b94..2017448 100755
--- a/bin/ldap2apache
+++ b/bin/ldap2apache
@@ -198,8 +198,8 @@ clients.each{ |c|
"/etc/ssl/private/apache-#{server_name}.key",
"/etc/ssl/private/#{server_name}.key",
].select{ |i| FileTest.exists?(i) }
- STDERR.puts "Warning: No crtfiles exist" unless crtfiles.length()
- STDERR.puts "Warning: No keyfiles exist" unless keyfiles.length()
+ STDERR.puts "Warning: No crtfiles exist" unless crtfiles.length() > 0
+ STDERR.puts "Warning: No keyfiles exist" unless keyfiles.length() > 0
config << make_vhostline(bind, bindhttpsport)
config << " SSLEngine on"