aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-06 15:07:40 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-06 15:07:40 +0100
commit0c44463ca075d45bd629e02d170c4d935ff44834 (patch)
treeb7cf85ababdadbc9589ec302b498b39c82e94621
parent68c8a1dd73da2ef6e0a1b7f3e07168ba48236e08 (diff)
downloadbuildroot-test-0c44463ca075d45bd629e02d170c4d935ff44834.tar.gz
buildroot-test-0c44463ca075d45bd629e02d170c4d935ff44834.tar.bz2
web/import.inc.php: remove debug message
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-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";
- }
}
}