summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/parseSpec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index 729d4fad9..fb137047a 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -352,9 +352,9 @@ int readLine(rpmSpec spec, int strip)
match = parseExpressionBoolean(spec, 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) {