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 <[email protected]> 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.
