From 6d74a69de5b199c98ef90dbd64b9f3c6b297abe0 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Wed, 30 Mar 2005 21:44:59 +0000 Subject: [PATCH] * src/ejabberd_ctl.erl: Bugfix SVN Revision: 300 --- ChangeLog | 4 ++++ src/ejabberd_ctl.erl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8213b25ab..f72891ee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-03-31 Alexey Shchepin + + * src/ejabberd_ctl.erl: Bugfix + 2005-03-17 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Bugfix diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index 1c1d33877..55c8008a7 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -147,7 +147,7 @@ process(Node, ["load", Path]) -> process(Node, ["restore", Path]) -> case rpc:call(Node, mnesia, restore, [Path, [{default_op, keep_tables}]]) of - {atomic, ok} -> + {atomic, _} -> ?STATUS_SUCCESS; {error, Reason} -> io:format("Can't restore backup from ~p on node ~p: ~p~n",