Propagate errors to the exit status.