aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/exithook.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/exithook.go')
-rw-r--r--src/runtime/exithook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/exithook.go b/src/runtime/exithook.go
index bb29a94724..65b426b383 100644
--- a/src/runtime/exithook.go
+++ b/src/runtime/exithook.go
@@ -37,7 +37,7 @@ var exitHooks struct {
// runExitHooks runs any registered exit hook functions (funcs
// previously registered using runtime.addExitHook). Here 'exitCode'
// is the status code being passed to os.Exit, or zero if the program
-// is terminating normally without calling os.Exit).
+// is terminating normally without calling os.Exit.
func runExitHooks(exitCode int) {
if exitHooks.runningExitHooks {
throw("internal error: exit hook invoked exit")