summaryrefslogtreecommitdiff
path: root/lib/manifest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/manifest.c')
-rw-r--r--lib/manifest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/manifest.c b/lib/manifest.c
index 020a841db..2ee0a52ed 100644
--- a/lib/manifest.c
+++ b/lib/manifest.c
@@ -115,7 +115,7 @@ rpmRC rpmReadPackageManifest(FD_t fd, int * argcPtr, char *** argvPtr)
}
/* Glob manifest items. */
- rpmrc = rpmGlob(s, &ac, &av);
+ rpmrc = (rpmGlob(s, &ac, &av) == 0 ? RPMRC_OK : RPMRC_FAIL);
if (rpmrc != RPMRC_OK) goto exit;
rpmlog(RPMLOG_DEBUG, "adding %d args from manifest.\n", ac);