diff options
author | Peter Palfrader <peter@palfrader.org> | 2014-06-23 17:49:53 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2014-06-23 17:49:53 +0000 |
commit | 43bac9ac268472e5e9e139d9eeadf5ca99e1fe5b (patch) | |
tree | c49cdc7e82edfacd92190ca0632905f7bb9886d7 /bin | |
parent | 3a120e0422d6a71a93a49a8b6492fd6e57f3fd28 (diff) |
Fix check
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@675 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ldap2apache | 4 |
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" |