cat on fail
This commit is contained in:
parent
40c602d54a
commit
1b99f30599
|
@ -672,7 +672,12 @@ function install_xmpp_main {
|
||||||
|
|
||||||
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
echo ''
|
||||||
|
echo ''
|
||||||
|
cat /etc/prosody/prosody.cfg.lua
|
||||||
remove_xmpp
|
remove_xmpp
|
||||||
|
echo ''
|
||||||
|
echo ''
|
||||||
echo $'Unable to register prosody user'
|
echo $'Unable to register prosody user'
|
||||||
exit 347682
|
exit 347682
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue