summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/file_handle_cache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 4df6eb3715..2014b19f56 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -863,7 +863,7 @@ process_obtain(State = #fhc_state { limit = Limit,
process_pending([], _Quota) ->
{[], 0};
-process_pending(Pending, Quota) when 0 >= Quota ->
+process_pending(Pending, Quota) when Quota =< 0 ->
{Pending, 0};
process_pending(Pending, Quota) ->
PendingLen = length(Pending),