summaryrefslogtreecommitdiff
path: root/src/sync.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-11-23 17:11:26 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-23 18:06:38 +0000
commit6df26278d6cf5c6fad04d3fbaed4c06a223fb0bd (patch)
tree7ba12d8c55aa67520373e668d50d1dfc0a27f27f /src/sync.c
parent9fd0662faa4db68dea4fb4ba3f918b6a8f9598c4 (diff)
downloadcoreutils-6df26278d6cf5c6fad04d3fbaed4c06a223fb0bd.tar.xz
md5sum,sha*sum: ensure --ignore-missing fails when no file verified
* src/md5sum.c (digest_check): Update a matched_checksums bool upon matched checksum, and fail (loudly unless --status is specified) if there were no matches. Also change properly_formatted_lines to a bool while at it since we don't need to track the plurality. * tests/misc/md5sum.pl: Add a test case. Suggested by Jim Meyering.
Diffstat (limited to 'src/sync.c')
0 files changed, 0 insertions, 0 deletions