recent perl have signal names we don't have, protect against that.
authorespie <espie@openbsd.org>
Tue, 18 Apr 2017 15:12:00 +0000 (15:12 +0000)
committerespie <espie@openbsd.org>
Tue, 18 Apr 2017 15:12:00 +0000 (15:12 +0000)
commit1b95f69e0d9bda4e2b9e88c1572474270449cbd6
tree900d03d0e5141a20c7056acfe2e3c2dee0869b86
parent76cc2bb0d3f922c9a83f0348f0278fd48d576502
recent perl have signal names we don't have, protect against that.
also, allow child_error to take a parameter so that this can be used to decode
an arbitrary wait() result.
usr.sbin/pkg_add/OpenBSD/Error.pm