From: espie Date: Sat, 27 May 2023 10:01:21 +0000 (+0000) Subject: try/catch to be revisited X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a100fd737c4602aaf08c7e9d38c5f0fd17cdbf8f;p=openbsd try/catch to be revisited --- diff --git a/usr.sbin/pkg_add/OpenBSD/Error.pm b/usr.sbin/pkg_add/OpenBSD/Error.pm index 0c7bd630e55..ebc29e7e5f8 100644 --- a/usr.sbin/pkg_add/OpenBSD/Error.pm +++ b/usr.sbin/pkg_add/OpenBSD/Error.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Error.pm,v 1.41 2023/05/17 15:51:58 espie Exp $ +# $OpenBSD: Error.pm,v 1.42 2023/05/27 10:01:21 espie Exp $ # # Copyright (c) 2004-2010 Marc Espie # @@ -207,6 +207,7 @@ sub rmtree } package OpenBSD::Error::catch; +# TODO why keep the data we don't use ?... sub exec { my ($self, $full, $e) = @_;