diff --git a/host_linux.go b/host_linux.go index 4960b0d..6bd7f49 100644 --- a/host_linux.go +++ b/host_linux.go @@ -155,7 +155,10 @@ func GetPlatformInformation() (string, string, string, error) { family := "" version := "" - lsb, _ := getLSB() + lsb, err := getLSB() + if err != nil{ + lsb = LSB{} + } if pathExists("/etc/oracle-release") { platform = "oracle"