summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-27 11:40:56 -0200
committerRenato Botelho <renato@netgate.com>2015-10-27 11:40:56 -0200
commit1474131881232906c9200ccc2da38f6ea5c9c5f3 (patch)
tree80bdf2bfd2ec62b9cbd3b2ab279f9a34ea82fd9b /src
parent5679253ca1de969f668422f9e19c334eaacdaef7 (diff)
downloadpfsense-1474131881232906c9200ccc2da38f6ea5c9c5f3.zip
pfsense-1474131881232906c9200ccc2da38f6ea5c9c5f3.tar.gz
Add more information abou pkg issue, already reported to upstream
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index 7b8e872..cba1be3 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -513,7 +513,12 @@ function getLogsStatus() {
if("<?=$progbar?>") {
if (json.data) {
- // There appears to be a bug in pkg that can cause "total" to be reported as zero
+ /*
+ * XXX: There appears to be a bug in pkg that can cause "total"
+ * to be reported as zero
+ *
+ * https://github.com/freebsd/pkg/issues/1336
+ */
if (json.data.total > 0) {
setProgress('progressbar', ((json.data.current * 100) / json.data.total), true);
}
OpenPOWER on IntegriCloud