summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-01-20 12:01:57 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-01-20 12:01:57 +0000
commitd360880c3f5d0d4b117d64e049a557d2bcc26968 (patch)
tree68ed547441071464f72fbbf7d87ae3742fec8380
parent4cfa73e50ce63bd1da70b5394ecc26bdb6fa6638 (diff)
oops, no chomp, so get rid of the extra blank line by using print
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
index 6c380e32885..615ea8b0124 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageRepository.pm,v 1.150 2018/01/19 11:34:41 espie Exp $
+# $OpenBSD: PackageRepository.pm,v 1.151 2018/01/20 12:01:56 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -294,7 +294,7 @@ sub parse_problems
$self->{last_error} = 0;
while(<$fh>) {
if (m/^Redirected to https?\:\/\/([^\/]*)/) {
- $self->{state}->say("#1", $_);
+ $self->{state}->print("#1", $_);
$self->{host} = $1;
$baseurl = $self->url;
next;