summaryrefslogtreecommitdiff
path: root/lib/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/verify.c')
-rw-r--r--lib/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/verify.c b/lib/verify.c
index ad109ac37..d9689ae32 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -471,7 +471,7 @@ int rpmcliVerify(rpmts ts, QVA_t qva, const char ** argv)
qva->qva_showPackage = showVerifyPackage;
/* XXX verify flags are inverted from query. */
- vsflags = rpmExpandNumeric("%{_vsflags_verify}");
+ vsflags = rpmExpandNumeric("%{?_vsflags_verify}");
if (!(qva->qva_flags & VERIFY_DIGEST))
vsflags |= _RPMTS_VSF_NODIGESTS;
if (!(qva->qva_flags & VERIFY_SIGNATURE))