summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2008-09-06 15:30:40 +0200
committerJindrich Novy <jnovy@redhat.com>2008-09-06 15:30:40 +0200
commitce1db5af7036df54a21abab9a5d70b06a821fff4 (patch)
tree49e43b40a4dd2b6b0d392146f5ba32268a11c6c2 /build
parentf15b7e099682605994b4e7d23cb03018e72abb5e (diff)
downloadrpm-ce1db5af7036df54a21abab9a5d70b06a821fff4.tar.gz
rpm-ce1db5af7036df54a21abab9a5d70b06a821fff4.tar.bz2
rpm-ce1db5af7036df54a21abab9a5d70b06a821fff4.zip
Fail hard if patch isn't found (rhbz#461347)
Diffstat (limited to 'build')
-rw-r--r--build/parsePrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index fcc28c8b3..2be069335 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -538,7 +538,7 @@ int parsePrep(rpmSpec spec)
}
if (res && !spec->force) {
/* fixup from RPMRC_FAIL do*Macro() codes for now */
- res = PART_ERROR;
+ nextPart = PART_ERROR;
goto exit;
}
}