From 33c6b3700e9ceafa9966e1f9efe41897d741e2a4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 23 Apr 2024 18:50:44 +0200 Subject: [PATCH] Ammend ejabberd_admin:update/0 from adbccbe to be used by Rebar3 Sync --- src/ejabberd_admin.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ejabberd_admin.erl b/src/ejabberd_admin.erl index d8b1e2d1c..28215491c 100644 --- a/src/ejabberd_admin.erl +++ b/src/ejabberd_admin.erl @@ -603,8 +603,9 @@ update() -> Mods = ejabberd_admin:update_list(), io:format("Updating modules: ~p~n", [Mods]), ejabberd_admin:update("all"), - io:format("Updated modules: ", []), - Mods -- ejabberd_admin:update_list(). + Mods2 = Mods -- ejabberd_admin:update_list(), + io:format("Updated modules: ~p~n", [Mods2]), + ok. %%% %%% Account management