diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-08-17 18:37:11 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-08-17 18:37:11 +0000 |
commit | 4035f6fab1ffb2f995ff5d45a0ee8199ada2fb55 (patch) | |
tree | f3d10f62468a8eff77545feb4f6590ce0f16c16b /usr.sbin/pkg_add | |
parent | 43362a244b13e921bfbae71e3c081e79fb00bc01 (diff) |
we have a much more accurate image of stuff in -n mode, so we can
ditch this test, pkg_delete -n should no longer loop indefinitely.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_delete | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete index ddf18230a25..4d3944a00d6 100644 --- a/usr.sbin/pkg_add/pkg_delete +++ b/usr.sbin/pkg_add/pkg_delete @@ -1,6 +1,6 @@ #!/usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_delete,v 1.88 2005/08/17 09:24:53 espie Exp $ +# $OpenBSD: pkg_delete,v 1.89 2005/08/17 18:37:10 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -213,9 +213,6 @@ eval { $done{$pkgname} = 1; $removed++; } - # we're not actually doing anything, so we can't expect this loop - # to ever finish - last if $opt_n; } while ($removed); } }; my $dielater = $@; |