From c417058e4ca8d69020003a8f82c6c34381719240 Mon Sep 17 00:00:00 2001 From: Lucas Forster Date: Mon, 24 Feb 2025 20:13:38 +0100 Subject: [PATCH] Fix bad blocks file location being logged for SSDs --- disk-burnin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/disk-burnin.sh b/disk-burnin.sh index 9021e32..72299bd 100755 --- a/disk-burnin.sh +++ b/disk-burnin.sh @@ -503,7 +503,9 @@ log_runtime_info() { log_info "Extended test duration: ${EXTENDED_TEST_MINUTES} minutes" log_info " ${EXTENDED_TEST_SECONDS} seconds" log_info "Log file: ${LOG_FILE}" - log_info "Bad blocks file: ${BB_File}" + if [ "${DISK_TYPE}" != "SSD" ]; then + log_info "Bad blocks file: ${BB_File}" + fi } ##################################################