~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hashsum.c: Return nonzero from `checkhash' on errors.
[catacomb]
/
hashsum.c
diff --git
a/hashsum.c
b/hashsum.c
index
d12c506
..
820cfbd
100644
(file)
--- a/
hashsum.c
+++ b/
hashsum.c
@@
-125,7
+125,7
@@
static int checkhash(const gchash *gch, unsigned f,
moan("%lu of %lu file(s) failed %s check", nfail, n, hfp.gch->name);
else if (!n)
moan("no files checked");
- return (
0
);
+ return (
rc
);
}
static int dohash(const gchash *gch, unsigned f,