propagate exit code