summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Util.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-12-13 10:14:32 +0100
committermkanat%bugzilla.org <>2007-12-13 10:14:32 +0100
commita4b66874db35b0ad64257b202dc48d43924eb14e (patch)
treeb8bc2ff96e223c326810d5d9c032286d61e2b1da /Bugzilla/Install/Util.pm
parent5c779ad57796cf6c1f88efe2f3b88b1b96144004 (diff)
downloadbugzilla-a4b66874db35b0ad64257b202dc48d43924eb14e.tar.gz
bugzilla-a4b66874db35b0ad64257b202dc48d43924eb14e.tar.xz
Bug 408032: [Oracle] Make bzdbcopy.pl work with Oracle
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'Bugzilla/Install/Util.pm')
-rw-r--r--Bugzilla/Install/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 3942aa82a..67aeb4873 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -80,7 +80,7 @@ sub indicate_progress {
my $every = $params->{every} || 1;
print "." if !($current % $every);
- if ($current % ($every * 60) == 0) {
+ if ($current == $total || $current % ($every * 60) == 0) {
print "$current/$total (" . int($current * 100 / $total) . "%)\n";
}
}