You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-12 23:50:14 +02:00
update dependency
This commit is contained in:
@ -101,6 +101,7 @@ 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
|
||||
|
Reference in New Issue
Block a user