From de50ae56c1a30c7995a9b681464dbd29776af065 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 31 Dec 2009 13:48:53 +0000 Subject: fix for error message logging. --- usr.sbin/pkg_add/OpenBSD/Handle.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD') 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 # @@ -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"; } -- cgit v1.2.3