diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 11:37:21 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 11:37:21 +0300 |
commit | 8f7874c1933fc1dff36685d13abfedda56ca9ab7 (patch) | |
tree | de372b5d494ad0a7de7357f28bf1316701a3adfe /lib/manifest.c | |
parent | 2fb15a5443c6a1461a53309d3d4ace598996d8b2 (diff) | |
download | librpm-tizen-8f7874c1933fc1dff36685d13abfedda56ca9ab7.tar.gz librpm-tizen-8f7874c1933fc1dff36685d13abfedda56ca9ab7.tar.bz2 librpm-tizen-8f7874c1933fc1dff36685d13abfedda56ca9ab7.zip |
Fix up bunch of silly int vs rpmRC return code mismatches
Diffstat (limited to 'lib/manifest.c')
-rw-r--r-- | lib/manifest.c | 2 |
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); |