summaryrefslogtreecommitdiff
path: root/daemonize.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-01 19:04:49 +0100
committerJakob Unterwurzacher2016-11-01 19:04:49 +0100
commitf4c367381ea4884a9b460e073a7809665031a88c (patch)
tree41ae1c70f134fc3ced3f5d6e019cc537722bce79 /daemonize.go
parentb527e205e231a7f0d5486b7593ba6b47cf09706d (diff)
main: fix comments that reference "-f"
Diffstat (limited to 'daemonize.go')
-rw-r--r--daemonize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonize.go b/daemonize.go
index fa5b6e1..b9857e7 100644
--- a/daemonize.go
+++ b/daemonize.go
@@ -18,7 +18,7 @@ func exitOnUsr1() {
os.Exit(0)
}
-// forkChild - execute ourselves once again, this time with the "-f" flag, and
+// forkChild - execute ourselves once again, this time with the "-fg" flag, and
// wait for SIGUSR1 or child exit.
// This is a workaround for the missing true fork function in Go.
func forkChild() int {