cat on fail

This commit is contained in:
Bob Mottram 2016-12-03 22:33:48 +00:00
parent 40c602d54a
commit 1b99f30599
1 changed files with 5 additions and 0 deletions

View File

@ -672,7 +672,12 @@ function install_xmpp_main {
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
if [ ! "$?" = "0" ]; then
echo ''
echo ''
cat /etc/prosody/prosody.cfg.lua
remove_xmpp
echo ''
echo ''
echo $'Unable to register prosody user'
exit 347682
fi