diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-05 11:19:44 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-05 11:19:44 +0000 |
commit | 65be0d1e8a48f1367a7ae17157967dfbe9355056 (patch) | |
tree | 2cba270c1e26995376b19ea3ac4e7792aafe4124 /usr.sbin | |
parent | 468de125fb88e1183ff58c3af24712070aaac078 (diff) |
avoid progressmeter warning
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index a8272be91e3..a8ab900a2bc 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.414 2009/12/05 10:54:11 espie Exp $ +# $OpenBSD: pkg_add,v 1.415 2009/12/05 11:19:43 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -796,6 +796,7 @@ framework( sub { $state->tracker->add_sets(@todo2); if ($state->{allow_replacing}) { + $state->progress->set_header("Looking for packages"); $state->{todo} = (scalar @todo2) + 1; do_quirks($state); } |