diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-08-05 15:32:49 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-08-06 08:41:12 +0300 |
commit | 6e90eea3be83ac4c2ec49f01ef34cff1e58d72da (patch) | |
tree | e945ec763ce1bc690eaed4e1e627de73a3771e4d | |
parent | 94eeef0dac1df3922593d67a07b0a807846ea118 (diff) | |
download | rpm-6e90eea3be83ac4c2ec49f01ef34cff1e58d72da.tar.gz |
Increment exit code on file not found errors too (#446202)
-rw-r--r-- | lib/rpminstall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c index c5d25aca8..e821817a9 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -363,6 +363,8 @@ int rpmInstall(rpmts ts, fn = _free(fn); if (rc || ac == 0) { rpmError(RPMERR_OPEN, _("File not found by glob: %s\n"), *eiu->fnp); + rpmlog(RPMLOG_ERR, _("File not found by glob: %s\n"), *eiu->fnp); + eiu->numFailed++; continue; } |