From 5a89833b93b3ceb5063c984578f355416eb409e3 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 5 Aug 2008 15:32:49 +0300 Subject: [PATCH] Increment exit code on file not found errors too (#446202) --- lib/rpminstall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 5eef571..8ea9a83 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -264,6 +264,7 @@ int rpmInstall(rpmts ts, struct rpmInstallArguments_s * ia, ARGV_t fileArgv) fn = _free(fn); if (rc || ac == 0) { rpmlog(RPMLOG_ERR, _("File not found by glob: %s\n"), *eiu->fnp); + eiu->numFailed++; continue; } -- 2.7.4