Matthew Holt
5 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
8 additions and
6 deletions
-
sigtrap.go
|
@ -69,6 +69,7 @@ func gracefulStop(sigName string) { |
|
|
exitCode = ExitCodeFailedQuit |
|
|
exitCode = ExitCodeFailedQuit |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if adminServer != nil { |
|
|
err = stopAdminServer(adminServer) |
|
|
err = stopAdminServer(adminServer) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
Log().Error("stopping admin endpoint", |
|
|
Log().Error("stopping admin endpoint", |
|
@ -77,6 +78,7 @@ func gracefulStop(sigName string) { |
|
|
exitCode = ExitCodeFailedQuit |
|
|
exitCode = ExitCodeFailedQuit |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Exit codes. Generally, you should NOT
|
|
|
// Exit codes. Generally, you should NOT
|
|
|
// automatically restart the process if the
|
|
|
// automatically restart the process if the
|
|
|