HomeFreeBSD

sh: Unify EXERROR and EXEXEC

Description

sh: Unify EXERROR and EXEXEC

The difference between EXERROR and EXEXEC was that EXEXEC passed along
exitstatus and EXERROR set exitstatus to 2 in the handling code.

By changing the places that raised EXERROR to set exitstatus to 2, the
handling of EXERROR and EXEXEC becomes the same.

Details

Provenance
jillesAuthored on
Parents
rS340283: Cross-reference nohup(1) and daemon(8).
Branches
Unknown
Tags
Unknown