summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-11 16:28:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-11 16:28:58 +0000
commitd2590a33cc21b54532f6c358d7a82e42c3ece282 (patch)
treea548edd6db8ea1a2788e165b70cb0f18ec1204c6 /usr.sbin/pkg_add
parentc304a696bbe383436c6cd19648c892337ca8ee98 (diff)
reversed test.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_delete4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index 504a8f78580..4df5c5df85f 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.74 2004/11/11 12:29:20 espie Exp $
+# $OpenBSD: pkg_delete,v 1.75 2004/11/11 16:28:57 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -72,7 +72,7 @@ $state->{dont_run_scripts} = $opt_I;
$state->{forced} = \%forced;
$ENV{'PKG_DELETE_EXTRA'} = $state->{extra} ? "Yes" : "No";
-if ($opt_x && $state->{beverbose}) {
+if ($opt_x && !$state->{beverbose}) {
OpenBSD::ProgressMeter::enable();
}