Try a delay

This commit is contained in:
Bob Mottram 2016-12-03 22:46:27 +00:00
parent 16c3735400
commit b5fb76b2fc
1 changed files with 2 additions and 0 deletions

View File

@ -677,6 +677,8 @@ function install_xmpp_main {
systemctl restart prosody
sleep 5
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
if [ ! "$?" = "0" ]; then
echo ''