change: exit 0 when quit hashicorp process

This commit is contained in:
debugtalk
2022-01-19 14:52:30 +08:00
parent 19a8ff72af
commit a96917f587
+1 -1
View File
@@ -204,7 +204,7 @@ func initPlugin(path string) (plugin common.Plugin, err error) {
go func() { go func() {
<-c <-c
plugin.Quit() plugin.Quit()
os.Exit(1) os.Exit(0)
}() }()
// report event for initializing plugin // report event for initializing plugin