1
0
Fork 0
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:
Evan Phoenix 2013-07-05 22:02:17 -07:00
parent e3d87440f6
commit 50239b013f

View file

@ -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"]