diff options
Diffstat (limited to 'src/couchdb/couch_file.erl')
-rw-r--r-- | src/couchdb/couch_file.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_file.erl b/src/couchdb/couch_file.erl index 13ce3aad..d844d5b2 100644 --- a/src/couchdb/couch_file.erl +++ b/src/couchdb/couch_file.erl @@ -315,7 +315,7 @@ init({Filepath, Options, ReturnPid}) -> init_status_ok(ReturnPid, Fd); false -> ok = file:close(Fd), - init_status_error(ReturnPid, {error, file_exists}) + init_status_error(ReturnPid, file_exists) end; false -> init_status_ok(ReturnPid, Fd) |