Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/build-list.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/build-list.php')
-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 {