diff options
author | Badlop <badlop@process-one.net> | 2010-07-03 00:42:54 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-07-03 00:42:54 +0200 |
commit | 7e90d6cf923327c0f6391b309dfd4ccc46eb2186 (patch) | |
tree | aa7229de23483376e837b2325ea2fe10dca71d3f | |
parent | Show some more room options in the log file (diff) |
Fix print of command result that contains ~ (thanks to Tsukasa Hamano)
-rw-r--r-- | src/ejabberd_ctl.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index aee1a011f..33b2fe4d0 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -201,8 +201,7 @@ process(Args) -> case String of [] -> ok; _ -> - io:format(String), - io:format("\n") + io:format("~s~n", [String]) end, Code. |