index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-04-13 09:29:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-13 09:29:00 +0200 |
commit | 53ece989fb7fc2a8ea20f6769d65b9657494cdc9 (patch) | |
tree | 92a5f9f417512baccefa5305c86330bac41a3b95 /buildmaster | |
parent | 350cf4aafd0d8f9b42a7d7e88ee5b66cd638a68f (diff) |
-rw-r--r-- | buildmaster/build-list.php | 16 |
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 { |