summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 331b970c32e..dd98ca17b4c 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.89 2009/11/28 09:36:32 espie Exp $
+# $OpenBSD: Delete.pm,v 1.90 2009/12/05 09:26:42 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -115,7 +115,7 @@ sub delete_package
$state->vstat->synchronize;
delete_plist($plist, $state);
- $state->progress->next($state->{todo});
+ $state->progress->next($state->{todo}-1);
}
sub unregister_dependencies