Skip to content

Commit

Permalink
daemonize: fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rfjakob committed May 17, 2024
1 parent 67d52b3 commit 72ec4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemonize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 72ec4b0

Please sign in to comment.