diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 7 |
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); } |