spawn: Fix broken pipe vs. exit handling
Link with -lz
job: Log correct exit status