summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-01-03 09:34:23 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-01-03 09:34:23 +0000
commitebce0ddd1af52917a7b4699a0e684b166e5d044d (patch)
tree16d43444eb855740a6771aac2a9553239fe64cc8 /usr.sbin/pkg_add/OpenBSD
parentca53d7e3f314417f18e246b9ff8287527a3aa95e (diff)
-F tally
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddDelete.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
index c4614db449e..df8392d22f9 100644
--- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: AddDelete.pm,v 1.14 2010/01/02 14:13:02 espie Exp $
+# $OpenBSD: AddDelete.pm,v 1.15 2010/01/03 09:34:22 espie Exp $
#
# Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org>
#
@@ -99,7 +99,8 @@ sub framework
$state->progress->clear;
$state->log->dump;
finish_display();
- if ($state->verbose >= 2 || $opt_s) {
+ if ($state->verbose >= 2 || $opt_s ||
+ $state->{defines}->{tally}) {
$state->vstat->tally;
}
# show any error, and show why we died...