1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-15 23:54:17 +02:00

Compatible with more types of disks

Add usb display
This commit is contained in:
link
2022-01-28 14:06:27 +08:00
parent d060968b7a
commit 9a73bc2a18
11 changed files with 200 additions and 69 deletions

View File

@ -101,7 +101,6 @@ func ExecSmartCTLByPath(path string) []byte {
output, err := exec.CommandContext(ctx, "smartctl", "-a", path, "-j").Output()
if err != nil {
fmt.Println("smartctl", err)
fmt.Println("output", string(output))
return nil
}
return output