diff options
author | xuhy <huayong.xu@samsung.com> | 2023-09-26 14:50:08 +0800 |
---|---|---|
committer | xuhy <huayong.xu@samsung.com> | 2023-09-26 14:50:08 +0800 |
commit | 5f8532aff84601c4aae3c956d0a04621f06c9a41 (patch) | |
tree | 9a2b028c24c205b075d9386acd7a62a2eb2271a7 | |
parent | 1efc127b43a457047223a13419ae4ff4181020e2 (diff) | |
download | librpm-tizen-sandbox/xuhy/rpm_tizen_riscv.tar.gz librpm-tizen-sandbox/xuhy/rpm_tizen_riscv.tar.bz2 librpm-tizen-sandbox/xuhy/rpm_tizen_riscv.zip |
Ignore error macro.sandbox/xuhy/rpm_tizen_riscvsandbox/wangbiao/riscv
Change-Id: I93d34e5baa223669aa01f280283972208e053645
-rw-r--r-- | rpmio/macro.c | 2 |
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; } |