pull/4/head
Shirou WAKAYAMA 11 years ago
parent 4b7a2b298d
commit 955c9d23c0

@ -9,9 +9,9 @@ import (
"os"
"os/exec"
"runtime"
"strings"
"syscall"
"unsafe"
"strings"
)
type LSB struct {
@ -39,7 +39,6 @@ func HostInfo() (*HostInfoStat, error) {
ret.PlatformVersion = version
}
return ret, nil
}
@ -219,7 +218,6 @@ func getPlatformInformation() (string, string, string, error) {
version = lsb.Release
}
switch platform {
case "debian", "ubuntu", "linuxmint", "raspbian":
family = "debian"

Loading…
Cancel
Save