Implement self-update recovery (T-403)
This commit is contained in:
@@ -19,6 +19,12 @@ import (
|
||||
const applicationEventCapacity = 32
|
||||
|
||||
func main() {
|
||||
if handled, err := acknowledgeInternalUpdateHealth(os.Args[1:]); handled {
|
||||
if err != nil {
|
||||
log.Printf("%s internal update health failed: %v", core.ProductName, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
go func() {
|
||||
if err := run(); err != nil {
|
||||
log.Printf("%s Legacy stopped: %v", core.ProductName, err)
|
||||
|
||||
Reference in New Issue
Block a user