Changed value of lsblk block usage output to bytes
parent
2d92131533
commit
5d92e213ee
|
@ -74,7 +74,7 @@ func GetDevices() []Device {
|
|||
|
||||
var devices []Device
|
||||
|
||||
cmdArgs := []string{"--raw", "--noheadings"}
|
||||
cmdArgs := []string{"--raw", "--bytes", "--noheadings"}
|
||||
cmdOutput := utils.Exec("lsblk", cmdArgs)
|
||||
cmdOutputReader := strings.NewReader(cmdOutput)
|
||||
scanner := bufio.NewScanner(cmdOutputReader)
|
||||
|
|
Loading…
Reference in New Issue