diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_config.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl index 50768ac8..d5b93201 100644 --- a/src/couchdb/couch_config.erl +++ b/src/couchdb/couch_config.erl @@ -118,11 +118,11 @@ load_ini_file(IniFile) -> IniBin = case file:read_file(IniFilename) of {ok, IniBin0} -> - IniBin0; + IniBin0; {error, enoent} -> - Msg = io_lib:format("Couldn't find server configuration file ~s.", [IniFilename]), - ?LOG_ERROR("~s~n", [Msg]), - throw({startup_error, Msg}) + Msg = ?l2b(io_lib:format("Couldn't find server configuration file ~s.", [IniFilename])), + ?LOG_ERROR("~s~n", [Msg]), + throw({startup_error, Msg}) end, {ok, Lines} = regexp:split(binary_to_list(IniBin), "\r\n|\n|\r|\032"), |