summaryrefslogtreecommitdiffstats
path: root/autobuild
diff options
context:
space:
mode:
Diffstat (limited to 'autobuild')
-rw-r--r--autobuild/results.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index da18802..5e2875f 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -111,9 +111,9 @@ while (!feof($status_file)) {
if (preg_match("/^(.*): (.*)$/", $line, $matches)) {
$rpm = $matches[1];
$status = $matches[2];
- if ($start_time == 0) {
+ if ($start_time == 0 && $status != 'recreate_srpm_failure' && $status != 'not_on_this_arch') {
$build_stat = stat("$base_dir/$rpm");
- if ($build_stat['mtime']) {
+ if ($build_stat && $build_stat['mtime']) {
$start_time = $build_stat['mtime'];
}
}