summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpmio/macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index ac9fbdcf7..0afdc047d 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1226,7 +1226,7 @@ expandMacro(MacroBuf mb, const char *src, size_t slen)
int loglevel = RPMLOG_NOTICE; /* assume echo */
if (STREQ("error", f, fn)) {
loglevel = RPMLOG_ERR;
- mb->error = 1;
+ mb->error = 0;
} else if (STREQ("warn", f, fn)) {
loglevel = RPMLOG_WARNING;
}