From 53ee5200c8547cdf725abd3e1d6a5bab1a37701b Mon Sep 17 00:00:00 2001 From: debugtalk Date: Wed, 19 Jan 2022 14:52:30 +0800 Subject: [PATCH] change: exit 0 when quit hashicorp process --- runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner.go b/runner.go index 8e687b48..ab9e8f6d 100644 --- a/runner.go +++ b/runner.go @@ -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