mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Check status data better. Fixes #292
This commit is contained in:
parent
e3d87440f6
commit
50239b013f
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ module Puma
|
|||
|
||||
status = YAML.load File.read(@options[:status_path])
|
||||
|
||||
if status.has_key? "config"
|
||||
if status.kind_of?(Hash) && status.has_key?("config")
|
||||
|
||||
conf = status["config"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue