dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit bdea4855d307234f96b86bf1d53515faa3ca7248
parent 367928d1742c6f7b12720e6c60a9292e6b708c7c
Author: sin <sin@2f30.org>
Date:   Wed, 21 Mar 2018 16:10:12 +0000

Print error for unknown hash

Diffstat:
Mdedup.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dedup.c b/dedup.c @@ -323,6 +323,8 @@ extract(char *id, int fd) free(ent); break; } + if (i == enthdr.nents) + errx(1, "extract: unknown hash %s", id); } void