From 4e4430b2e95e9f2a7d9c7b5bbf7af9a740e98d4c Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 27 Nov 2014 14:15:49 +0000 Subject: default for interactive should match non-interactive. Pointed out by krw@ --- usr.sbin/pkg_add/OpenBSD/Delete.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/pkg_add/OpenBSD') 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 # @@ -99,6 +99,8 @@ sub delete_package $state->errsay("NOT deleting #1", $pkgname); return; } + } else { + return; } } -- cgit v1.2.3