diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2022-03-23 20:26:03 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2022-03-23 20:26:03 -0700 |
commit | 0dbc6d7564e816d257d0c6c2aee8f92bfc1585d8 (patch) | |
tree | 5cdf94e5c90dbca424f756e9bf7bffb4b905f16d | |
parent | 22b416e6eabfa09118bbfc9753bcd2b1ba047e2c (diff) | |
download | chef-0dbc6d7564e816d257d0c6c2aee8f92bfc1585d8.tar.gz |
always the other way around
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/http/ssl_policies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http/ssl_policies.rb b/lib/chef/http/ssl_policies.rb index 8973ea248e..eb5e6cc747 100644 --- a/lib/chef/http/ssl_policies.rb +++ b/lib/chef/http/ssl_policies.rb @@ -132,7 +132,7 @@ class Chef def add_trusted_cert(cert) http_client.cert_store.add_cert(cert) rescue OpenSSL::X509::StoreError => e - raise e unless e.message ~= /cert already in hash table/ + raise e unless e.message =~ /cert already in hash table/ end end |