diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/SharedItems.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm index f87ac3b2d9e..2b0b01cd545 100644 --- a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm +++ b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: SharedItems.pm,v 1.20 2009/12/21 10:46:16 espie Exp $ +# $OpenBSD: SharedItems.pm,v 1.21 2009/12/24 14:37:28 espie Exp $ # # Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org> # @@ -113,7 +113,11 @@ sub cleanup $done++; } } - $state->progress->next; + if ($state->verbose >= 2) { + $state->progress->next; + } else { + $state->progress->clear; + } } package OpenBSD::PackingElement; |