mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-10 16:58:46 +01:00
* src/ejabberd_ctl.erl: Now prints a user-friendly when trying
to restore a backup from a non-existent file. SVN Revision: 564
This commit is contained in:
parent
205c565e6f
commit
640e1579f5
@ -7,6 +7,9 @@
|
||||
* src/ejabberd_admin.erl: Code refactoring. Common Mnesia database
|
||||
restore function.
|
||||
|
||||
* src/ejabberd_ctl.erl: Now prints a user-friendly when trying to
|
||||
restore a backup from a non-existent file.
|
||||
|
||||
2006-05-01 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/ejabberd_ctl.erl: Unknown tables or tables from now unused
|
||||
|
@ -133,7 +133,12 @@ process(["restore", Path]) ->
|
||||
?STATUS_ERROR;
|
||||
{aborted,{no_exists,Table}} ->
|
||||
io:format("Can't restore backup from ~p at node ~p: Table ~p does not exist.~n",
|
||||
[filename:absname(Path), node(), Table])
|
||||
[filename:absname(Path), node(), Table]),
|
||||
?STATUS_ERROR;
|
||||
{aborted,enoent} ->
|
||||
io:format("Can't restore backup from ~p at node ~p: File not found.~n",
|
||||
[filename:absname(Path), node()]),
|
||||
?STATUS_ERROR
|
||||
end;
|
||||
|
||||
process(["install-fallback", Path]) ->
|
||||
|
Loading…
Reference in New Issue
Block a user