Propagate exit code