You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/01/07 17:28:40 UTC
[couchdb] branch 2406-halt-no-admin created (now fbefb80)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a change to branch 2406-halt-no-admin
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at fbefb80 Halt on no admin to avoid crash dump
This branch includes the following new commits:
new fbefb80 Halt on no admin to avoid crash dump
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Halt on no admin to avoid crash dump
Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 2406-halt-no-admin
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit fbefb80e9fe454cd0959fe99690e92105346072f
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Jan 7 12:28:27 2020 -0500
Halt on no admin to avoid crash dump
---
src/couch/src/couch_sup.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/couch/src/couch_sup.erl b/src/couch/src/couch_sup.erl
index ac117ea..c4a2e63 100644
--- a/src/couch/src/couch_sup.erl
+++ b/src/couch/src/couch_sup.erl
@@ -99,7 +99,7 @@ assert_admins() ->
++ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%~n", []),
% Wait a second so the log message can make it to the log
timer:sleep(500),
- throw(admin_account_required);
+ erlang:halt(1);
_ -> ok
end.