summaryrefslogtreecommitdiff
path: root/lib/un.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/un.rb')
-rw-r--r--lib/un.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/un.rb b/lib/un.rb
index 39212d0fa9..3f59e3ff8b 100644
--- a/lib/un.rb
+++ b/lib/un.rb
@@ -329,8 +329,7 @@ def httpd
begin
require 'webrick'
rescue LoadError
- puts "webrick is not found. You may need to `gem install webrick` to install webrick."
- exit
+ abort "webrick is not found. You may need to `gem install webrick` to install webrick."
end
opt = options[:RequestTimeout] and options[:RequestTimeout] = opt.to_i
[:Port, :MaxClients].each do |name|