summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file_handle_cache.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 9786fb063c..c76dbccdee 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -711,7 +711,8 @@ ulimit() ->
%% Fortunately, os:cmd invokes the cmd in a shell env, so
%% we're safe in all cases.
case os:cmd("ulimit -n") of
- "unlimited" -> infinity;
+ "unlimited" ->
+ infinity;
String = [C|_] when $0 =< C andalso C =< $9 ->
Num = list_to_integer(
lists:takewhile(