diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-01 08:13:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-01 08:13:24 +0000 |
commit | 64d90e66af72be46716f2b4bc6d651b1b5515283 (patch) | |
tree | 064ee8dae5a5a8d3b52960b39f7f98adf47dee5a /usr.sbin | |
parent | c0da60c219bfa45173cf47cb2a96170b5eb1060e (diff) |
for every case we can't install stuff, we have to let the tracker now, and
close the set.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index aaa7181c1f5..21c82b76f86 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.406 2009/11/30 16:15:13 espie Exp $ +# $OpenBSD: pkg_add,v 1.407 2009/12/01 08:13:23 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -583,6 +583,8 @@ sub install_set $handle->location->close_now; } $bad++; + $set->cleanup(OpenBSD::Handle::CANT_INSTALL); + $state->tracker->mark_cant_update($set); return (); } |