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

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

Loading…
Cancel
Save