From 65be0d1e8a48f1367a7ae17157967dfbe9355056 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 5 Dec 2009 11:19:44 +0000 Subject: avoid progressmeter warning --- usr.sbin/pkg_add/pkg_add | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/pkg_add') 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 # @@ -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); } -- cgit v1.2.3