summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-13 22:16:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-13 22:16:32 +0000
commita4d4ba89ecc86ab93bb88cb993877f5c2684d043 (patch)
treee05e2e3f2c5ab7302c58c0d5f80fcc73e05c65ee /usr.sbin/pkg_add
parentfc9dae037a0d80b913aa116b71ddd3cf7bf81c40 (diff)
oops, oops, oops. todo is not todo2
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 3ab2790a764..e3a4c5e7259 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.345 2009/10/13 21:21:07 espie Exp $
+# $OpenBSD: pkg_add,v 1.346 2009/10/13 22:16:31 espie Exp $
#
# Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org>
#
@@ -854,7 +854,7 @@ if ($opt_l || $opt_z) {
print "Cannot find updates for ", join(', ', map {$_->short_print} @cantupdate[1..50]);
print " and more" if @cantupdate > 50;
print "\n";
- if (@todo == 0) {
+ if (@todo2 == 0) {
print "No updates found\n";
exit(1);
}