forgot the non-interactive case
authorespie <espie@openbsd.org>
Mon, 26 Feb 2018 14:07:39 +0000 (14:07 +0000)
committerespie <espie@openbsd.org>
Mon, 26 Feb 2018 14:07:39 +0000 (14:07 +0000)
usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm

index 08487e2..761b444 100644 (file)
@@ -1,5 +1,5 @@
 # ex:ts=8 sw=4:
-# $OpenBSD: AddCreateDelete.pm,v 1.40 2018/02/26 13:04:30 espie Exp $
+# $OpenBSD: AddCreateDelete.pm,v 1.41 2018/02/26 14:07:39 espie Exp $
 #
 # Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org>
 #
@@ -198,6 +198,11 @@ sub confirm
        return $yesno;
 }
 
+sub confirmf
+{
+       return 0;
+}
+
 sub is_interactive
 {
        return 0;