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()