X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/95d9246390251adba7e6e9f0cc70bf0ebe0b2e60..df8e52c798e925d8d6fc1ec0d43996bebf1092ef:/hashsum.c?ds=sidebyside diff --git a/hashsum.c b/hashsum.c index d12c506..820cfbd 100644 --- 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,