summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-13 09:29:00 +0200
committerErich Eckner <git@eckner.net>2018-04-13 09:29:00 +0200
commit53ece989fb7fc2a8ea20f6769d65b9657494cdc9 (patch)
tree92a5f9f417512baccefa5305c86330bac41a3b95 /buildmaster
parent350cf4aafd0d8f9b42a7d7e88ee5b66cd638a68f (diff)
downloadarchweb32-53ece989fb7fc2a8ea20f6769d65b9657494cdc9.tar.xz
buildmaster/build-list.php: do not check if log exists
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/build-list.php16
1 files changed, 6 insertions, 10 deletions
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 .
- ", <a href=\"https://buildmaster.archlinux32.org/build-logs/error/" .
- $last_log .
- "\">" .
- $reason .
- "</a>";
- } else {
- $to_print= $to_print . ", " . $reason;
- }
+ $to_print= $to_print .
+ ", <a href=\"https://buildmaster.archlinux32.org/build-logs/error/" .
+ $last_log .
+ "\">" .
+ $reason .
+ "</a>";
}
$rows[$count]["fail_reasons"]=substr($to_print,2);
} else {