From 54717ea623da0a812fbeaa04711542f215c8c480 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 20 Sep 2016 20:32:20 +0000 Subject: [PATCH] catching end of transmissions when transmission lost --- include/functions.php | 2 +- version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index 9196c5a..632f53c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -119,7 +119,7 @@ function getShortMMDVMLog() { // Open Logfile and copy loglines into LogLines-Array() $logPath = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log"; //$logLines = explode("\n", `tail -n100 $logPath`); - $logLines = explode("\n", `egrep -h "from|end|watchdog" $logPath | tail -4`); + $logLines = explode("\n", `egrep -h "from|end|watchdog|lost" $logPath | tail -4`); return $logLines; } diff --git a/version.php b/version.php index 6aca1fa..1c5b513 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@