projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418a9bc
)
return code from rpmRemovePackage() was being ignored
author
ewt
<devnull@localhost>
Thu, 20 Mar 1997 15:18:45 +0000
(15:18 +0000)
committer
ewt
<devnull@localhost>
Thu, 20 Mar 1997 15:18:45 +0000
(15:18 +0000)
CVS patchset: 1491
CVS date: 1997/03/20 15:18:45
install.c
patch
|
blob
|
history
diff --git
a/install.c
b/install.c
index
4503805
..
3bf2501
100644
(file)
--- a/
install.c
+++ b/
install.c
@@
-365,7
+365,9
@@
int doUninstall(char * rootdir, char ** argv, int uninstallFlags,
for (i = 0; i < numPackages; i++) {
rpmMessage(RPMMESS_DEBUG, "uninstalling record number %d\n",
packageOffsets[i]);
- rpmRemovePackage(rootdir, db, packageOffsets[i], uninstallFlags);
+ if (rpmRemovePackage(rootdir, db, packageOffsets[i],
+ uninstallFlags))
+ numFailed++;
}
}