From 9261ccad94d054f98a653fce89ec76d2882b79a3 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 2 Dec 2019 09:28:35 +0100 Subject: [PATCH] www/nginx: code style issue --- www/nginx/src/opnsense/scripts/nginx/read_log.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/www/nginx/src/opnsense/scripts/nginx/read_log.php b/www/nginx/src/opnsense/scripts/nginx/read_log.php index a74655b95..488c018ef 100755 --- a/www/nginx/src/opnsense/scripts/nginx/read_log.php +++ b/www/nginx/src/opnsense/scripts/nginx/read_log.php @@ -1,5 +1,6 @@ #!/usr/local/bin/php get_result()); if (empty($lines)) { @@ -108,7 +109,7 @@ switch ($mode) { } // we cannot parse the file - something went wrong if ($logparser == null) { - continue; + break; } $lines = array_merge($lines, $logparser->get_result()); if (empty($lines)) {