diff --git a/pkg/osutil/interrupt_unix.go b/pkg/osutil/interrupt_unix.go index 438b530a8..3063f6be2 100644 --- a/pkg/osutil/interrupt_unix.go +++ b/pkg/osutil/interrupt_unix.go @@ -14,9 +14,6 @@ // +build !windows,!plan9 -// InterruptHandler is a function that is called on receiving a -// SIGTERM or SIGINT signal. - package osutil import ( @@ -27,6 +24,8 @@ import ( "syscall" ) +// InterruptHandler is a function that is called on receiving a +// SIGTERM or SIGINT signal. type InterruptHandler func() var (