diff options
| author | Matthias Radestock <matthias@lshift.net> | 2009-11-25 15:11:45 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2009-11-25 15:11:45 +0000 |
| commit | 46b42c7237057f06feaebc61b35703cb3da450d2 (patch) | |
| tree | b4c825f1482af13df44b9cf6eda3359906834df7 /src | |
| parent | 09b71fc6cce4e613ebf028c5e0a56f7f4def2496 (diff) | |
| download | rabbitmq-server-git-46b42c7237057f06feaebc61b35703cb3da450d2.tar.gz | |
cosmetic
Diffstat (limited to 'src')
| -rw-r--r-- | src/file_handle_cache.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 2f4c3bc03a..1e00b5a8e1 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -631,7 +631,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( |
