13 lines
189 B
Go
13 lines
189 B
Go
package util
|
|
|
|
import "fmt"
|
|
|
|
var SdBootedV = func() bool {
|
|
if v, err := SdBooted(); err != nil {
|
|
fmt.Println("warn: read systemd marker:", err)
|
|
return false
|
|
} else {
|
|
return v
|
|
}
|
|
}()
|