HomeFreeBSD

xargs: fix exit code when using -P

Description

xargs: fix exit code when using -P

currently when xargs runs in parallel mode (e.g. -P2), it somtimes
incorrectly returns zero exit code. this commit fix it and also adds
tests.

Reviewed by: mjg
PR: 267110

Details

Provenance
liu-du <duliujimmy@hotmail.com>Authored on Oct 16 2022, 3:41 AM
mjgCommitted on Oct 17 2022, 10:39 AM
Parents
rGb136983a8a78: if_ovpn: fix use-after-free
Branches
Unknown
Tags
Unknown