From 53ece989fb7fc2a8ea20f6769d65b9657494cdc9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 13 Apr 2018 09:29:00 +0200 Subject: buildmaster/build-list.php: do not check if log exists --- buildmaster/build-list.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'buildmaster') diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index 2cfbc34..d576019 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -96,16 +96,12 @@ if ($result -> num_rows > 0) { if (isset($reasons)) { $to_print=""; foreach ($reasons as $reason => $last_log) { - if (file_exists("/srv/http/build-logs/error/".$last_log)) { - $to_print= $to_print . - ", " . - $reason . - ""; - } else { - $to_print= $to_print . ", " . $reason; - } + $to_print= $to_print . + ", " . + $reason . + ""; } $rows[$count]["fail_reasons"]=substr($to_print,2); } else { -- cgit v1.2.3-70-g09d2