diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-11-23 17:11:26 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-11-23 18:06:38 +0000 |
commit | 6df26278d6cf5c6fad04d3fbaed4c06a223fb0bd (patch) | |
tree | 7ba12d8c55aa67520373e668d50d1dfc0a27f27f /man/echo.x | |
parent | 9fd0662faa4db68dea4fb4ba3f918b6a8f9598c4 (diff) | |
download | coreutils-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 'man/echo.x')
0 files changed, 0 insertions, 0 deletions