diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-12-24 12:50:23 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-12-24 12:50:23 +0000 |
commit | 2c8f8d95e1de2455ee2cc5f7080cb5630c4cbad3 (patch) | |
tree | 7b0dc051e155e4a5ff3b06403c9b716219adcecb /usr.sbin/pkg_add | |
parent | e23ad4cbfe820630e0699a3c10fdc9455625a638 (diff) |
recheck list for non emptyness *after* filtering obsolete packages.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 06b8d2b329e..9741e955a84 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.79 2014/11/30 15:53:54 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.80 2014/12/24 12:50:22 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -1066,7 +1066,7 @@ sub inform_user_of_problems }); $state->say("Couldn't find updates for #1", - join(', ', sort @cantupdate)); + join(', ', sort @cantupdate)) if @cantupdate > 0; } if (defined $state->{issues}) { $state->say("There were some ambiguities. ". |