aboutsummaryrefslogtreecommitdiff
path: root/src/pubsub_migrate.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubsub_migrate.erl')
-rw-r--r--src/pubsub_migrate.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pubsub_migrate.erl b/src/pubsub_migrate.erl
index 6b5900279..0728da765 100644
--- a/src/pubsub_migrate.erl
+++ b/src/pubsub_migrate.erl
@@ -529,5 +529,4 @@ report_and_stop(Tab, Err) ->
"Failed to convert '~s' table to binary: ~p",
[Tab, Err])),
?CRITICAL_MSG(ErrTxt, []),
- timer:sleep(1000),
- halt(string:substr(ErrTxt, 1, 199)).
+ ejabberd:halt().