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 /build/pack.c | |
parent | 2fb15a5443c6a1461a53309d3d4ace598996d8b2 (diff) | |
download | rpm-8f7874c1933fc1dff36685d13abfedda56ca9ab7.tar.gz rpm-8f7874c1933fc1dff36685d13abfedda56ca9ab7.tar.bz2 rpm-8f7874c1933fc1dff36685d13abfedda56ca9ab7.zip |
Fix up bunch of silly int vs rpmRC return code mismatches
Diffstat (limited to 'build/pack.c')
-rw-r--r-- | build/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c index fa4b4efa9..0b57613fe 100644 --- a/build/pack.c +++ b/build/pack.c @@ -658,7 +658,7 @@ static rpmRC checkPackages(char *pkgcheck) xx = system(pkgcheck); if (WEXITSTATUS(xx) == -1 || WEXITSTATUS(xx) == 127) { rpmlog(RPMLOG_ERR, _("Execution of \"%s\" failed.\n"), pkgcheck); - if (fail) return 127; + if (fail) return RPMRC_NOTFOUND; } if (WEXITSTATUS(xx) != 0) { rpmlog(RPMLOG_ERR, _("Package check \"%s\" failed.\n"), pkgcheck); |