diff options
author | Alexey Shchepin <alexey@process-one.net> | 2005-03-30 21:44:59 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2005-03-30 21:44:59 +0000 |
commit | 6d74a69de5b199c98ef90dbd64b9f3c6b297abe0 (patch) | |
tree | 94d786d5e7e5bcea79e4cad38eea1aa1afb077d1 | |
parent | * src/mod_muc/mod_muc_room.erl: Bugfix (diff) |
* src/ejabberd_ctl.erl: Bugfix
SVN Revision: 300
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/ejabberd_ctl.erl | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index 1c1d3387..55c8008a 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", |