Remove pkg/systemd/booted.go

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2015-07-24 18:09:27 +02:00
parent 58bab11ee2
commit f29dcfd215
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
package systemd
import (
"os"
)
// Conversion to Go of systemd's sd_booted()
func SdBooted() bool {
s, err := os.Stat("/run/systemd/system")
if err != nil {
return false
}
return s.IsDir()
}