summaryrefslogtreecommitdiff
path: root/sigtrap.go
diff options
context:
space:
mode:
Diffstat (limited to 'sigtrap.go')
-rw-r--r--sigtrap.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sigtrap.go b/sigtrap.go
index 8fae706..76bb666 100644
--- a/sigtrap.go
+++ b/sigtrap.go
@@ -65,9 +65,9 @@ func gracefulStop(sigName string) {
os.Exit(exitCode)
}
-// Exit codes. Generally, you will want to avoid
-// automatically restarting the process if the
-// exit code is 1.
+// Exit codes. Generally, you should NOT
+// automatically restart the process if the
+// exit code is ExitCodeFailedStartup (1).
const (
ExitCodeSuccess = iota
ExitCodeFailedStartup