aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Ågren <linus@agren.cc>2025-05-26 10:12:22 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-12-04 20:17:53 +0000
commit89907591a8c447ef8fe816b71cf339977f9f2a6e (patch)
treeb403ee83fdc414cf80b3a2e0bd72aa3ef1ed5bd7
parent56e5b24d8e91f246e36352ecc023ac86528f9b1e (diff)
handbook/bsdinstall: Quiet sha256sum checks
Instead of specifying the filename to be checked, use --ignore-missing, which only returns output for successful checks. This flag is present on both BSD and Linux. Reviewed by: ziaee Closes: https://github.com/freebsd/freebsd-doc/pull/399
-rw-r--r--documentation/content/en/books/handbook/bsdinstall/_index.adoc2
-rw-r--r--documentation/content/ja/books/handbook/bsdinstall/_index.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/content/en/books/handbook/bsdinstall/_index.adoc b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
index 79234d2dc6..2712331049 100644
--- a/documentation/content/en/books/handbook/bsdinstall/_index.adoc
+++ b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
@@ -193,7 +193,7 @@ Verifying the _checksum_ in FreeBSD can be done automatically using man:sha256su
[source,shell]
....
-% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 FreeBSD-13.1-RELEASE-amd64-dvd1.iso
+% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 --ignore-missing
FreeBSD-13.1-RELEASE-amd64-dvd1.iso: OK
....
diff --git a/documentation/content/ja/books/handbook/bsdinstall/_index.adoc b/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
index 50b4a24046..f2201f5957 100644
--- a/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
+++ b/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
@@ -178,7 +178,7 @@ FreeBSD での _チェックサム_ の検証は、以下のように man:sha256
[source,shell]
....
-% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 FreeBSD-13.1-RELEASE-amd64-dvd1.iso
+% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 --ignore-missing
FreeBSD-13.1-RELEASE-amd64-dvd1.iso: OK
....