test error login

This commit is contained in:
Christian Rotzoll
2019-04-16 22:58:59 +01:00
parent 1625dc777f
commit d7d3f92430

View File

@@ -19,8 +19,8 @@ if [ ${bitcoinActive} -eq 0 ]; then
height=6 height=6
width=42 width=42
title="Blockchain Error" title="Blockchain Warning"
infoStr="The ${network}d service is not running." infoStr=" The ${network}d service is not running.\n Login for more details."
if [ "$USER" == "admin" ]; then if [ "$USER" == "admin" ]; then
infoStr="${infoStr}\n${bitcoinError}" infoStr="${infoStr}\n${bitcoinError}"
fi fi
@@ -31,12 +31,19 @@ elif [ ${lndActive} -eq 0 ]; then
# On LND Error # On LND Error
#################### ####################
height=6 height=5
width=42 width=42
title="Lightning Error" title="Lightning Warning"
infoStr="The lnd service is not running." infoStr=" The lnd service is not running.\n Login for more details."
if [ "$USER" == "admin" ]; then if [ "$USER" == "admin" ]; then
infoStr="${infoStr}\n${lndError}" clear
echo "*********************************"
echo "* The lnd service is not running."
echo "*********************************"
echo ${lndError}
echo "Use following command to debug:"
echo "/home/admin/XXdebugLogs.sh"
exit 0
fi fi
else else