]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[digest] Treat inability to acquire an image as a fatal error master
authorMichael Brown <mcb30@ipxe.org>
Wed, 6 Aug 2025 13:54:30 +0000 (14:54 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 6 Aug 2025 14:21:14 +0000 (15:21 +0100)
commit332241238e3f1a2b519a1c8ea41fb52dbe0232f8
treefad2d2cf8761aea63c75d463657bbdeb784f9b57
parent6fa901530afdd1c7d28f0328ead8d7825fa62fbd
[digest] Treat inability to acquire an image as a fatal error

The "md5sum" and "sha1sum" commands were originally intended solely as
debugging utilities, and would return success (with a warning message)
even if the specified images did not exist.

To minimise surprise and to be consistent with other commands, treat
the inability to acquire an image as a fatal error.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/commands/digest_cmd.c