]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_ctl.erl: Bugfix
authorAlexey Shchepin <alexey@process-one.net>
Wed, 30 Mar 2005 21:44:59 +0000 (21:44 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Wed, 30 Mar 2005 21:44:59 +0000 (21:44 +0000)
SVN Revision: 300

ChangeLog
src/ejabberd_ctl.erl

index 8213b25ab327043ae2a6afd092f5ab5ba88ff64a..f72891ee6c58a7d62bb15f95ebaf58c19e135fc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-31  Alexey Shchepin  <alexey@sevcom.net>
+
+       * src/ejabberd_ctl.erl: Bugfix
+
 2005-03-17  Alexey Shchepin  <alexey@sevcom.net>
 
        * src/mod_muc/mod_muc_room.erl: Bugfix
index 1c1d338771c3798655af31b174da9845da7302a6..55c8008a7804286fd3769057b66d793e4a306061 100644 (file)
@@ -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",