about summary refs log tree commit homepage
path: root/lib/yahns/daemon.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/daemon.rb')
-rw-r--r--lib/yahns/daemon.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/daemon.rb b/lib/yahns/daemon.rb
index a3ffd8b..fde384c 100644
--- a/lib/yahns/daemon.rb
+++ b/lib/yahns/daemon.rb
@@ -46,9 +46,9 @@ module Yahns::Daemon # :nodoc:
         master_pid = (rd.readpartial(16) rescue nil).to_i
         unless master_pid > 1
           warn "master failed to start, check stderr log for details"
-          exit!(1)
+          exit!
         end
-        exit 0
+        exit
       else # yahns master process
         yahns_server.daemon_pipe = wr
       end