service_windows.go: remove unused "service" variable
This was added in 40d898a820
, but
doesn't appear to be used.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4eb9d15dc6
commit
4756258faf
@ -49,8 +49,6 @@ var (
|
||||
allocConsole = kernel32.NewProc("AllocConsole")
|
||||
oldStderr windows.Handle
|
||||
panicFile *os.File
|
||||
|
||||
service *handler
|
||||
)
|
||||
|
||||
const defaultServiceName = "containerd"
|
||||
@ -282,7 +280,6 @@ func launchService(s *server.Server, done chan struct{}) error {
|
||||
return err
|
||||
}
|
||||
|
||||
service = h
|
||||
go func() {
|
||||
if interactive {
|
||||
err = debug.Run(serviceNameFlag, h)
|
||||
|
Loading…
Reference in New Issue
Block a user