summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuhy <huayong.xu@samsung.com>2023-09-26 14:50:08 +0800
committerxuhy <huayong.xu@samsung.com>2023-09-26 14:50:08 +0800
commit5f8532aff84601c4aae3c956d0a04621f06c9a41 (patch)
tree9a2b028c24c205b075d9386acd7a62a2eb2271a7
parent1efc127b43a457047223a13419ae4ff4181020e2 (diff)
downloadlibrpm-tizen-sandbox/wangbiao/riscv.tar.gz
librpm-tizen-sandbox/wangbiao/riscv.tar.bz2
librpm-tizen-sandbox/wangbiao/riscv.zip
Change-Id: I93d34e5baa223669aa01f280283972208e053645
-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;
}