projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5898658
)
Increment exit code on file not found errors too (#446202)
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 5 Aug 2008 12:32:49 +0000
(15:32 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 5 Aug 2008 12:32:49 +0000
(15:32 +0300)
lib/rpminstall.c
patch
|
blob
|
history
diff --git
a/lib/rpminstall.c
b/lib/rpminstall.c
index
5eef571
..
8ea9a83
100644
(file)
--- 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;
}