diff options
author | Benoit Chesneau <benoitc@apache.org> | 2011-09-27 22:29:58 +0000 |
---|---|---|
committer | Benoit Chesneau <benoitc@apache.org> | 2011-09-27 22:29:58 +0000 |
commit | 7fe255e8225cfcb8f5ed5837f7f0a853c5236a68 (patch) | |
tree | 4825422e17612da5eef6f994cb4f68c739932813 | |
parent | 249810103bc42806234a57243f3a28f4e4308b79 (diff) | |
download | couchdb-7fe255e8225cfcb8f5ed5837f7f0a853c5236a68.tar.gz |
close #COUCHDB-1297
make sure we have a binary here.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1176648 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/couchdb/couch_os_process.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_os_process.erl b/src/couchdb/couch_os_process.erl index 415cdbbab..8b22ec5cd 100644 --- a/src/couchdb/couch_os_process.erl +++ b/src/couchdb/couch_os_process.erl @@ -149,7 +149,7 @@ init([Command, Options, PortOptions]) -> writer=fun writejson/2, reader=fun readjson/1 }, - KillCmd = readline(BaseProc), + KillCmd = iolist_to_binary(readline(BaseProc)), Pid = self(), ?LOG_DEBUG("OS Process Start :: ~p", [BaseProc#os_proc.port]), spawn(fun() -> |