summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-18 14:04:21 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-18 14:04:21 +0000
commitabd2b41edf97f3254bedb5beb81309487bab7ff5 (patch)
tree75008b6b8382303b7f131b663f006f3302754f3d
parent3d619550c9b8200ea2a4e37e954ac4855e737447 (diff)
oops
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageName.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageName.pm b/usr.sbin/pkg_add/OpenBSD/PackageName.pm
index 875c8618aa1..2bb0c0776c0 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageName.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageName.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageName.pm,v 1.44 2010/05/10 09:17:55 espie Exp $
+# $OpenBSD: PackageName.pm,v 1.45 2010/06/18 14:04:20 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -106,9 +106,7 @@ sub avail2stems
{
my @avail = @_;
if (@avail == 0) {
- require OpenBSD::Error;
-
- OpenBSD::Error::Warn("No packages available in the PKG_PATH\n");
+ print STDERR "No packages available in the PKG_PATH\n";
}
return OpenBSD::PackageName::compile_stemlist(@avail);
}