diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-11-27 14:15:49 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-11-27 14:15:49 +0000 |
commit | 4e4430b2e95e9f2a7d9c7b5bbf7af9a740e98d4c (patch) | |
tree | b6b8629b4b842123e25e1a1a99a2b23eb9e29fa5 /usr.sbin/pkg_add/OpenBSD | |
parent | b5ae8571aa4b6c9a3420aa4c4047fe7cdcbc6cd2 (diff) |
default for interactive should match non-interactive.
Pointed out by krw@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Delete.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm index da6b5877c88..fe5937ff4c9 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.140 2014/11/25 14:16:15 espie Exp $ +# $OpenBSD: Delete.pm,v 1.141 2014/11/27 14:15:48 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -99,6 +99,8 @@ sub delete_package $state->errsay("NOT deleting #1", $pkgname); return; } + } else { + return; } } |