summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-03-11 08:46:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-03-11 08:46:15 +0000
commit720c55cb01739ef216950c4ef5cc08b3bf21ef16 (patch)
tree7a687a9b8bc8b0a889d03435ac6628d0d93ea996 /usr.sbin
parent2bf0ace64b19ef2cb5d0753a57a39f5f2ec77def (diff)
oops
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 44ccb36ea8e..59068d96f5d 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.74 2008/03/08 11:48:01 espie Exp $
+# $OpenBSD: Delete.pm,v 1.75 2008/03/11 08:46:14 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -509,7 +509,7 @@ sub delete
return;
}
- if ($state->{quick} >= 2) {
+ if ($state->{quick} && $state->{quick} >= 2) {
unless ($state->{extra}) {
$self->mark_dir($state);
$state->print("You should also $action $realname\n");