diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2015-05-18 10:41:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2015-05-18 10:41:21 +0000 |
commit | 08c25bb863ae1260961042b469a62b075d9dc57c (patch) | |
tree | 6bf9d1c8c6d50dcf29c01f15a0e32b57f76f990c /usr.sbin/pkg_add/OpenBSD/Delete.pm | |
parent | 0f782609e7d104dcaac4d2a2af99ef407f26e4a5 (diff) |
simplify progressmeter calls to visit_and: we retrieve the state from the
progressmeter object
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Delete.pm | 4 |
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 62a1098bede..84dc069fefe 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.142 2014/11/30 15:53:26 espie Exp $ +# $OpenBSD: Delete.pm,v 1.143 2015/05/18 10:41:19 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -142,7 +142,7 @@ sub delete_plist if (!$state->{size_only}) { $plist->register_manpage($state, 'rmman'); manpages_unindex($state); - $state->progress->visit_with_size($plist, 'delete', $state); + $state->progress->visit_with_size($plist, 'delete'); } unregister_dependencies($plist, $state); |