From d910bb171dd96d6d77b33498b92264a49ebf23e4 Mon Sep 17 00:00:00 2001 From: Stephan Geisler Date: Mon, 14 Jan 2019 17:44:20 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EBuild/synOTR.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build/synOTR.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/synOTR.sh b/Build/synOTR.sh index 5c0d5f5..ab5f676 100644 --- a/Build/synOTR.sh +++ b/Build/synOTR.sh @@ -2881,7 +2881,7 @@ logdir="${DECODIR}/_LOGsynOTR/" # leere Logs löschen: for i in `ls -tr "${logdir}" | egrep -o '^synOTR.*.log$' ` # Auflistung aller LOG-Dateien do - if [ $( cat "${logdir}$i" | tail -n7 | head -n4 | wc -c ) -le 15 ]; then + if [ $( cat "${logdir}$i" | tail -n7 | head -n4 | wc -c ) -le 15 ] && cat "${logdir}$i" | grep -q "synOTR ENDE" ; then if [ $endgueltigloeschen = "on" ] ; then rm "${logdir}$i" else