summaryrefslogtreecommitdiff
path: root/build/parseSpec.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r--build/parseSpec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index d0c42a43e..671976e11 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -417,9 +417,9 @@ int readLine(rpmSpec spec, int strip)
match = parseExpressionBoolean(s);
if (match < 0) {
rpmlog(RPMLOG_ERR,
- _("%s:%d: bad %%if condition\n"),
+ _("%s:%d: bad %%if condition, continuing nevertheless\n"),
ofi->fileName, ofi->lineNum);
- return PART_ERROR;
+ match = 0;
}
} else if (ISMACRO(s, "%else")) {
if (! spec->readStack->next) {