diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-11-30 15:53:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-11-30 15:53:55 +0000 |
commit | b2c550d646ecc24c9d192b00e3ec85837ecc0457 (patch) | |
tree | a38e0bf4babe0cf60f83e912a250b2feb5794315 | |
parent | 1c9b7977cf19c575d67fd63cec92b0c1d1d13e24 (diff) |
get rid of some of the unadorned printfs
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 2cd3114d41a..06b8d2b329e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.78 2014/11/29 10:42:51 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.79 2014/11/30 15:53:54 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -1166,13 +1166,13 @@ sub finish_display $warn = 1; } if ($warn && $state->{packages_without_sig}) { - print "UNSIGNED PACKAGES: ", - join(', ', keys %{$state->{packages_without_sig}}), "\n"; + $state->say("UNSIGNED PACKAGES: ", + join(', ', keys %{$state->{packages_without_sig}})); } if (defined $state->{updatedepends} && %{$state->{updatedepends}}) { - print "Forced updates, bogus dependencies for ", + $state->say("Forced updates, bogus dependencies for ", join(' ', sort(keys %{$state->{updatedepends}})), - " may remain\n"; + " may remain"); } inform_user_of_problems($state); } |