From 43bac9ac268472e5e9e139d9eeadf5ca99e1fe5b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 23 Jun 2014 17:49:53 +0000 Subject: Fix check git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@675 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- bin/ldap2apache | 4 ++-- 1 file 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" -- cgit v1.2.3