about summary refs log tree commit homepage
path: root/lib/yahns/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r--lib/yahns/server.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index 513fadb..4501d86 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -401,7 +401,7 @@ class Yahns::Server # :nodoc:
       @logger.info("graceful exit aborted, exiting immediately")
       # we will still call any app-defined at_exit hooks here
       # use SIGKILL if you don't want that.
-      exit(0)
+      exit
     end
 
     drop_acceptors # stop acceptors, we close epolls in quit_done
@@ -463,7 +463,7 @@ class Yahns::Server # :nodoc:
     when :CHLD
       reap_reexec
     when :USR1
-      usr1_reopen('')
+      usr1_reopen(nil)
     when :USR2
       reexec
     when :HUP