From c2f946f7ed629e89fa0ec2c79e6cbcba7f0a02a4 Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Mon, 25 Apr 2022 11:48:29 +0200 Subject: [PATCH] remove verbosity of json cmd output --- smartdiskinfo.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/smartdiskinfo.go b/smartdiskinfo.go index 48fbdd6..1a26289 100644 --- a/smartdiskinfo.go +++ b/smartdiskinfo.go @@ -79,8 +79,6 @@ func checkSmartAttributes(diskpath string, isSeagate bool, isHdd bool) { fmt.Println("Spin_Retry_Count: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Retry_Count"))) fmt.Println("Spin_Up_Time: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Up_Time"))) } - - fmt.Println(rawattr) } func evalStrZero(nr uint64) string {