diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2019-04-06 10:48:52 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2019-04-06 10:48:52 +0000 |
commit | 06a8dde5cea5ee5ef3eebe60297cb505a73999a1 (patch) | |
tree | 4e08120188dead426cfc65f6bf9219fcdbf076d9 /usr.sbin/pkg_add | |
parent | e372592e9979be96686c2db133216eeadc87f13e (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.pm | 3 |
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; |