summaryrefslogtreecommitdiff
path: root/sd_daemon/booted.go
diff options
context:
space:
mode:
Diffstat (limited to 'sd_daemon/booted.go')
-rw-r--r--sd_daemon/booted.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd_daemon/booted.go b/sd_daemon/booted.go
index bfbc685..b833b45 100644
--- a/sd_daemon/booted.go
+++ b/sd_daemon/booted.go
@@ -17,11 +17,11 @@ package sd_daemon
import "os"
-// Returns whether the operating system booted using the Systemd init
+// Returns whether the operating system booted using the systemd init
// system.
//
// Please do not use this function. All of the other functionality in
-// this package uses interfaces that are not Systemd-specific.
+// this package uses interfaces that are not systemd-specific.
func SdBooted() bool {
fi, err := os.Lstat("/run/systemd/system")
return err != nil && fi.IsDir()