summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-12-07 12:38:18 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2018-12-07 12:38:18 -0500
commit832bbe8f8829c26b63039c157d65ab836c32f3c9 (patch)
treea2d489a075bace1050e02bae39474cd55130b7c4
parenta901af702443970a23768e8bf5af2ce8d8a9d627 (diff)
Wow, I'm really bad at spelling
-rw-r--r--sd_daemon/exit-status.go2
-rw-r--r--sd_daemon/notify.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/sd_daemon/exit-status.go b/sd_daemon/exit-status.go
index b7fd305..7993dbc 100644
--- a/sd_daemon/exit-status.go
+++ b/sd_daemon/exit-status.go
@@ -20,7 +20,7 @@ import (
)
// daemon(7) recommends using the exit codes defined in the "LSB
-// recomendations for SysV init scripts"[1].
+// recommendations for SysV init scripts"[1].
//
// BSD sysexits.h (which is also in GNU libc) defines several exit
// codes in the range 64-78. These are typically used in the context
diff --git a/sd_daemon/notify.go b/sd_daemon/notify.go
index fcd8060..62e507f 100644
--- a/sd_daemon/notify.go
+++ b/sd_daemon/notify.go
@@ -1,6 +1,6 @@
// Copyright 2013-2015 Docker, Inc.
// Copyright 2014 CoreOS, Inc.
-// Copyright 2015-2017 Luke Shumaker
+// Copyright 2015-2018 Luke Shumaker
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -29,11 +29,11 @@ import (
type Notification struct {
// PID specifies which process to send a notification about.
// If PID <= 0, or if the current process does not have
- // priveleges to send messages on behalf of other processes,
+ // privileges to send messages on behalf of other processes,
// then the message is simply sent from the current process.
PID int
- // State should countain a newline-separated list of variable
+ // State should contain a newline-separated list of variable
// assignments. See the documentation for sd_notify(3) for
// well-known variable assignments.
//