diff --git a/lib/puma/acme/plugin.rb b/lib/puma/acme/plugin.rb index e4b293e..afa4bdd 100644 --- a/lib/puma/acme/plugin.rb +++ b/lib/puma/acme/plugin.rb @@ -114,7 +114,7 @@ def bind_to(launcher, cert) @logger.log "* Listening on https://#{identifier.value}:#{uri.port} (puma-acme)" end - launcher.binder.listeners << [str, io] + launcher.binder.listeners << [str, io] if io end end end