remove verbosity of json cmd output

This commit is contained in:
lukas-heiligenbrunner 2022-04-25 11:48:29 +02:00
parent e8457a4e0b
commit c2f946f7ed

View File

@ -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 {