1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-08 19:29:25 +08:00

[host][linux] Fix #340 return Solus OS as from the "solus" PlatformFamily in Info()

This commit is contained in:
Lomanic 2019-07-11 22:18:40 +02:00
parent 6a8ab0308e
commit 9219f16f03

View File

@ -356,6 +356,8 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
family = "alpine" family = "alpine"
case "coreos": case "coreos":
family = "coreos" family = "coreos"
case "solus":
family = "solus"
} }
return platform, family, version, nil return platform, family, version, nil