summaryrefslogtreecommitdiff
path: root/sd_daemon/booted.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-19 13:45:53 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-19 13:45:53 -0500
commita04b84778871d77e539a675acbff05f7220e2f5e (patch)
tree4b6c54cdf6d6d5b3c3ef084f604615b2dc2b9c47 /sd_daemon/booted.go
parent4a3a5525172afd69bc674a2a344065cd9e9a5888 (diff)
Improve documentation.
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()