diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-03 13:50:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-03 13:50:03 +0000 |
commit | d235367b39a3ab11fe0cada6fa10578c78f35f6e (patch) | |
tree | 8617ac938efb4caa11af8971faec44cddba7f84a /URPM.xs | |
parent | 02f522328599a7a002ccccc1e4cc27cac0a1c92c (diff) | |
download | perl-URPM-d235367b39a3ab11fe0cada6fa10578c78f35f6e.tar perl-URPM-d235367b39a3ab11fe0cada6fa10578c78f35f6e.tar.gz perl-URPM-d235367b39a3ab11fe0cada6fa10578c78f35f6e.tar.bz2 perl-URPM-d235367b39a3ab11fe0cada6fa10578c78f35f6e.tar.xz perl-URPM-d235367b39a3ab11fe0cada6fa10578c78f35f6e.zip |
Don't display error messages from rpmVerifySignatures
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3342,10 +3342,12 @@ Urpm_verify_rpm(filename, ...) char *filename PREINIT: FD_t fd; - int i; + int i, oldlogmask; rpmts ts = NULL; struct rpmQVKArguments_s qva; CODE: + /* Don't display error messages */ + oldlogmask = rpmlogSetMask(RPMLOG_UPTO(RPMLOG_PRI(4))); memset(&qva, 0, sizeof(struct rpmQVKArguments_s)); qva.qva_source = RPMQV_RPM; qva.qva_flags = VERIFY_ALL; @@ -3373,6 +3375,7 @@ Urpm_verify_rpm(filename, ...) } rpmtsFree(ts); } + rpmlogSetMask(oldlogmask); OUTPUT: RETVAL |