diff options
Diffstat (limited to 'spec/scripts/ssl-serve.rb')
-rw-r--r-- | spec/scripts/ssl-serve.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scripts/ssl-serve.rb b/spec/scripts/ssl-serve.rb index c05aa2c285..3f4e343926 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" do server.shutdown end +trap("INT") { server.shutdown } server.start |