From 02d3fb37e372c271ee9290b194166777107bb04a Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Mon, 27 Jul 2020 08:53:33 -0700 Subject: [PATCH] fix return --- post-processor/vsphere/post-processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vsphere/post-processor.go b/post-processor/vsphere/post-processor.go index 1074097db..c57a9e704 100644 --- a/post-processor/vsphere/post-processor.go +++ b/post-processor/vsphere/post-processor.go @@ -224,7 +224,7 @@ func (p *PostProcessor) ValidateOvfTool(args []string, ofvtool string) error { // password or username stdin, err := cmd.StdinPipe() if err != nil { - err + return err } defer stdin.Close()