aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ranch.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch.erl b/src/ranch.erl
index 86d9578..bc31fdf 100644
--- a/src/ranch.erl
+++ b/src/ranch.erl
@@ -270,7 +270,7 @@ get_status(Ref) ->
case lists:keyfind(ranch_acceptors_sup, 1, Children) of
{_, undefined, _, _} ->
suspended;
- {_, AcceptorsSup, _, _} when is_pid(AcceptorsSup) ->
+ _ ->
running
end.