summaryrefslogtreecommitdiff
path: root/spec/scripts/ssl-serve.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/scripts/ssl-serve.rb')
-rw-r--r--spec/scripts/ssl-serve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scripts/ssl-serve.rb b/spec/scripts/ssl-serve.rb
index e9f645416c..fc5f273af0 100644
--- a/spec/scripts/ssl-serve.rb
+++ b/spec/scripts/ssl-serve.rb
@@ -42,6 +42,6 @@ webrick_opts = DEFAULT_OPTIONS.merge(server_opts)
pp webrick_opts: webrick_opts
server = WEBrick::HTTPServer.new(webrick_opts)
-trap("INT") { server.shutdown }
+trap("INT") do server.shutdown end
server.start