From 6ab7322dd0b8902a65683dd729570beaeeb49d96 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 3 Jul 2019 13:41:10 +0200 Subject: [PATCH] dont add extra lines when touchscreen off --- home.admin/00infoLCD.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoLCD.sh b/home.admin/00infoLCD.sh index ad7d2dbf1..07f868555 100755 --- a/home.admin/00infoLCD.sh +++ b/home.admin/00infoLCD.sh @@ -211,7 +211,7 @@ while : # no special case - show status display /home/admin/00infoBlitz.sh - if [ "${touchscreen}" != "1" ]; then + if [ ${#touchscreen} -gt 0 ] && [ ${touchscreen} -gt 0 ]; then echo "" echo "" echo ""