summaryrefslogtreecommitdiff
path: root/lib/uninstall.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-11-08 18:23:16 +0000
committerjbj <devnull@localhost>1998-11-08 18:23:16 +0000
commit468597524d30c44c7c17a20b58c512003ab0dc1a (patch)
treea4ca9d4a8f86e3e8b5496cde2660b965fede3c37 /lib/uninstall.c
parent2d8382033656676768b21ca792302b106b86fc05 (diff)
downloadrpm-468597524d30c44c7c17a20b58c512003ab0dc1a.tar.gz
rpm-468597524d30c44c7c17a20b58c512003ab0dc1a.tar.bz2
rpm-468597524d30c44c7c17a20b58c512003ab0dc1a.zip
remove redundant md5 computation on uninstall.
CVS patchset: 2534 CVS date: 1998/11/08 18:23:16
Diffstat (limited to 'lib/uninstall.c')
-rw-r--r--lib/uninstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uninstall.c b/lib/uninstall.c
index 9a6503122..605231559 100644
--- a/lib/uninstall.c
+++ b/lib/uninstall.c
@@ -561,7 +561,7 @@ static int removeFile(char * file, char state, unsigned int flags, char * md5,
else
rc = mdfile(file, currentMd5);
- if (mdfile(file, currentMd5))
+ if (rc)
rpmMessage(RPMMESS_DEBUG,
_(" failed - assuming file removed\n"));
else {