From c4ee6d3fc65be5a09921971b95019787900d0819 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 13 Oct 2022 09:47:15 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Erunchecks.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runchecks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runchecks.yml b/runchecks.yml index d27cab4..954d4b9 100644 --- a/runchecks.yml +++ b/runchecks.yml @@ -110,7 +110,7 @@ smartctl -H $OPT $disk >${g_tmp}/smartctl if ! cat ${g_tmp}/smartctl | egrep -iq "SMART overall-health self-assessment test result: PASSED|SMART Health Status: OK|Read Device Identity failed: scsi error no medium present" then - g_echo_error "SMART of $disk unhealthy: $(cat ${g_tmp}/smartctl)" + g_echo_error "SMART of $disk unhealthy: smartctl -H $OPT $disk $(cat ${g_tmp}/smartctl)" fi fi done