Skip to content
Browse files

Only stop the status server if it's started. Fixes #84

  • Loading branch information...
1 parent d7ee4f1 commit 2cc4b5175baab5d6c06f1cb7b5219e0c4944e5f6 @evanphx evanphx committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puma/cli.rb
View
2 lib/puma/cli.rb
@@ -436,7 +436,7 @@ def run
if @restart
log "* Restarting..."
- @status.stop true
+ @status.stop true if @status
restart!
end
end

0 comments on commit 2cc4b51

Please sign in to comment.
Something went wrong with that request. Please try again.