show error outputs

This commit is contained in:
Christian Rotzoll 2019-04-24 16:57:15 +02:00
parent 7e3e3d0906
commit 362e575a9d

View file

@ -80,7 +80,7 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ]; then
echo
if [ ${startcountLightning} -gt 1 ]; then
echo "${startcountLightning} RESTARTS DETECTED - ${network}d might be in a error loop"
cat /home/admin/systemd.lightning.log | grep "ERROR"
cat /home/admin/systemd.lightning.log | grep "ERROR" | tail -n -2
echo
fi
if [ ${#lndErrorFull} -gt 0 ]; then