summaryrefslogtreecommitdiff
path: root/lib/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/verify.c')
-rw-r--r--lib/verify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/verify.c b/lib/verify.c
index d9689ae32..9e50da4e4 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -436,10 +436,13 @@ int showVerifyPackage(QVA_t qva, rpmts ts, Header h)
if (qva->qva_flags & VERIFY_DEPS) {
int save_noise = _rpmds_unspecified_epoch_noise;
- _rpmds_unspecified_epoch_noise = 1;
+/*@-mods@*/
+ if (rpmIsVerbose())
+ _rpmds_unspecified_epoch_noise = 1;
if ((rc = verifyDependencies(qva, ts, h)) != 0)
ec = rc;
_rpmds_unspecified_epoch_noise = save_noise;
+/*@=mods@*/
}
if (qva->qva_flags & VERIFY_FILES) {
if ((rc = verifyHeader(qva, ts, fi)) != 0)