diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-14 09:13:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-14 09:13:18 +0000 |
commit | d72188ed9853a90657b50d3f34a9f4558d8a44ec (patch) | |
tree | 6af516251fff424452daa7d3e05b5afe872b2cf9 /usr.sbin | |
parent | 9ddaa8ba3a58ad38b2ac876104ce09ac9286241b (diff) |
off by one the other way round
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index a47fd81ea7f..036cb5b47fa 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.424 2009/12/13 17:58:54 espie Exp $ +# $OpenBSD: pkg_add,v 1.425 2009/12/14 09:13:17 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -546,7 +546,7 @@ sub really_add } }); $set->setup_header($state); - $state->progress->next($state->{todo}-1); + $state->progress->next($state->{todo}); for my $handle ($set->newer) { my $pkgname = $handle->pkgname; my $plist = $handle->plist; |