summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2020-01-04 17:13:36 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2020-01-04 17:13:36 +0000
commit3c9fec17d75c2c858155603147ec296a9245a815 (patch)
tree9effb9c67a1a3fe7280c0a1b8f22c81c900ab546 /usr.sbin/pkg_add
parent281b16ba8e0d1d10d637bf3f91be71967dd56a4b (diff)
mention $DB::inhibit_exit;
my wording after espie@ explained what he had in mind; OK espie@
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pod/OpenBSD::style.pod10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::style.pod b/usr.sbin/pkg_add/pod/OpenBSD::style.pod
index 6fa147ea062..a215a734b85 100644
--- a/usr.sbin/pkg_add/pod/OpenBSD::style.pod
+++ b/usr.sbin/pkg_add/pod/OpenBSD::style.pod
@@ -1,4 +1,4 @@
-$OpenBSD: OpenBSD::style.pod,v 1.1 2020/01/04 13:48:49 schwarze Exp $
+$OpenBSD: OpenBSD::style.pod,v 1.2 2020/01/04 17:13:35 schwarze Exp $
=head1 NAME
@@ -117,6 +117,14 @@ passing C<@_> completely unchanged, can be done with the following syntax:
&Lender::visit_notary; # no parentheses here
}
+If a program often uses fork(), set
+
+ $DB::inhibit_exit = 0;
+
+right after each fork() and before the following exec(),
+such that a user trying to debug the main program isn't
+prompted each time one of the child processes exits.
+
=head2 Data structures
Autovivification is welcome: