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

(cherry picked from commit 0ca740d9a639ab635f5a28be9051d0124a9544a1)

Details

Provenance
liu-du <duliujimmy@hotmail.com>Authored on Oct 16 2022, 3:41 AM
mjgCommitted on Nov 10 2022, 10:45 PM
Parents
rG9839a5ad3a68: ipfw: Have NAT steal the TH_RES1 bit, instead of the TH_AE bit
Branches
Unknown
Tags
Unknown

Event Timeline