niujiuru hace 2 semanas
padre
commit
54a48ede47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web-ui.service/page1_handler.go

+ 1 - 1
web-ui.service/page1_handler.go

@@ -196,7 +196,7 @@ func getMemInfo() (int, string, string) {
 }
 
 func getDiskInfo() (int, string, string) {
-	out, err := exec.Command("df", "-h", "/").Output()
+	out, err := exec.Command("df", "-hP", "/").Output()
 	if err != nil {
 		return 0, noValue, noValue
 	}