summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-31 13:48:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-31 13:48:53 +0000
commitde50ae56c1a30c7995a9b681464dbd29776af065 (patch)
tree973fe0cc8f76acb817ffc2266128ffe7956c1cda /usr.sbin/pkg_add/OpenBSD
parentaefadd81088b9f3cd0383f86a2c19f23ef30097d (diff)
fix for error message logging.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Handle.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm
index e52c5f785ea..2a1da8abf94 100644
--- a/usr.sbin/pkg_add/OpenBSD/Handle.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Handle.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Handle.pm,v 1.16 2009/12/31 12:38:19 espie Exp $
+# $OpenBSD: Handle.pm,v 1.17 2009/12/31 13:48:52 espie Exp $
#
# Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org>
#
@@ -111,7 +111,7 @@ sub error_message
return "bad package";
} elsif ($error == CANT_INSTALL) {
if ($self->{errorinfo}) {
- return "can't install: $self->{errorinfo}";
+ return "$self->{errorinfo}";
} else {
return "can't install";
}