From cdb1ca9e12901b95aadffff08124976ce9a27033 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 20 Oct 2017 15:03:05 +0200 Subject: Fix lexemes conversion --- lib/os_mon/src/memsup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/os_mon/src') diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl index 95cb798ba5..a30d962ad4 100644 --- a/lib/os_mon/src/memsup.erl +++ b/lib/os_mon/src/memsup.erl @@ -705,7 +705,7 @@ get_os_wordsize_with_uname() -> _ -> 32 end. -clean_string(String) -> lists:flatten(string:lexemes(String,"\r\n\t ")). +clean_string(String) -> lists:flatten(string:lexemes(String,[[$\r,$\n]|"\n\t "])). %%--Replying to pending clients----------------------------------------- -- cgit v1.2.3