summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-06-16 08:56:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-06-16 08:56:49 +0000
commitb0845a35e5048cdc5906208642ae54d655fe8faf (patch)
treef390cd8220b43585a92ea59fa14a53c39387d802 /usr.sbin/pkg_add/OpenBSD
parent7886a24eea3bd4b024f496085fc6725f80ef280d (diff)
fix bug introduced by work-around: sets with nothing to do must be marked
uptodate as well. Restores ntogo to working order
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index 2159470322b..61a889b1a48 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.66 2014/06/12 09:50:05 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.67 2014/06/16 08:56:48 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -910,6 +910,7 @@ sub process_set
return ();
}
if ($set->newer == 0 && $set->older_to_do == 0) {
+ $state->tracker->uptodate($set);
return ();
}