summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2019-04-06 10:48:52 +0000
committerMarc Espie <espie@cvs.openbsd.org>2019-04-06 10:48:52 +0000
commit06a8dde5cea5ee5ef3eebe60297cb505a73999a1 (patch)
tree4e08120188dead426cfc65f6bf9219fcdbf076d9 /usr.sbin/pkg_add
parente372592e9979be96686c2db133216eeadc87f13e (diff)
help the debugger, we usually don't want to stop after a fork to an
external program
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/State.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/State.pm b/usr.sbin/pkg_add/OpenBSD/State.pm
index 0c8c73e86ee..c8df6f00a4e 100644
--- a/usr.sbin/pkg_add/OpenBSD/State.pm
+++ b/usr.sbin/pkg_add/OpenBSD/State.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: State.pm,v 1.55 2019/03/11 16:31:24 espie Exp $
+# $OpenBSD: State.pm,v 1.56 2019/04/06 10:48:51 espie Exp $
#
# Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org>
#
@@ -471,6 +471,7 @@ sub _system
if (!defined $r) {
return 1;
} elsif ($r == 0) {
+ $DB::inhibit_exit = 0;
&$todo;
exec {$_[0]} @_ or
exit 1;