change: exit 0 when quit hashicorp process

This commit is contained in:
debugtalk
2022-01-19 14:52:30 +08:00
parent c10bf8574d
commit 53ee5200c8

View File

@@ -204,7 +204,7 @@ func initPlugin(path string) (plugin common.Plugin, err error) {
go func() {
<-c
plugin.Quit()
os.Exit(1)
os.Exit(0)
}()
// report event for initializing plugin