aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/import.inc.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/web/import.inc.php b/web/import.inc.php
index 678128c..5b5462e 100644
--- a/web/import.inc.php
+++ b/web/import.inc.php
@@ -236,12 +236,10 @@ function import_result($buildid, $filename)
$reason = $tmp[0];
else {
exec("tail -1 " . $thisbuildfinaldir . "build-time.log | grep :start: | cut -d':' -f4", $tmp);
- if (trim($tmp[0])) {
- print "Using build-time.log for reason[".trim($tmp[0])."]";
+ if (trim($tmp[0]))
$reason = trim($tmp[0]);
- } else {
+ else
$reason = "unknown";
- }
}
}