From 0c0364ee709a5c49b728be13755417af86411efd Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 25 Apr 2019 02:51:01 +0200 Subject: [PATCH] make error more clear --- home.admin/80scanLND.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/80scanLND.sh b/home.admin/80scanLND.sh index b50a4b9b5..69aa2bec8 100755 --- a/home.admin/80scanLND.sh +++ b/home.admin/80scanLND.sh @@ -35,7 +35,7 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == " echo if [ ${startcountBlockchain} -gt 1 ]; then echo "${startcountBlockchain} RESTARTS DETECTED - ${network}d might be in a error loop" - cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -2 + cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -1 echo fi if [ ${#bitcoinErrorFull} -gt 0 ]; then @@ -81,7 +81,7 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ] || [ "${1}" == "lightn 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" | tail -n -2 + cat /home/admin/systemd.lightning.log | grep "ERROR" | tail -n -1 echo fi if [ ${#lndErrorFull} -gt 0 ]; then