Browse Source

Merge pull request #2627 from mateusbraga/patch-2

osutil: fix InterruptHandler comment position
Xiang Li 10 years ago
parent
commit
27083093d3
1 changed files with 2 additions and 3 deletions
  1. 2 3
      pkg/osutil/interrupt_unix.go

+ 2 - 3
pkg/osutil/interrupt_unix.go

@@ -14,9 +14,6 @@
 
 
 // +build !windows,!plan9
 // +build !windows,!plan9
 
 
-// InterruptHandler is a function that is called on receiving a
-// SIGTERM or SIGINT signal.
-
 package osutil
 package osutil
 
 
 import (
 import (
@@ -27,6 +24,8 @@ import (
 	"syscall"
 	"syscall"
 )
 )
 
 
+// InterruptHandler is a function that is called on receiving a
+// SIGTERM or SIGINT signal.
 type InterruptHandler func()
 type InterruptHandler func()
 
 
 var (
 var (