aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2024-05-17 22:14:37 +0200
committerJakob Unterwurzacher2024-05-17 22:14:37 +0200
commit72ec4b005bdf2ee54945485dbd3a8bc07ef3d454 (patch)
tree3eeb021ef61f49cbdfa7bf42c0a04d905278d2ea
parent67d52b3395c5be325e11e715f0c6d1b4b11c38fb (diff)
daemonize: fix typo in comment
-rw-r--r--daemonize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonize.go b/daemonize.go
index 097a544..c9b0f0e 100644
--- a/daemonize.go
+++ b/daemonize.go
@@ -90,7 +90,7 @@ func redirectStdFds() {
if err != nil {
tlog.Warn.Printf("redirectStdFds: stderr dup error: %v\n", err)
}
- // Our stout and stderr point to "pw". We can close the extra copy.
+ // Our stdout and stderr point to "pw". We can close the original copy.
pw.Close()
// Redirect stdin to /dev/null
nullFd, err := os.Open("/dev/null")