From c66219084eca5e84a6d0fb842e0f1e3c890351e9 Mon Sep 17 00:00:00 2001 From: Stephen Tawn Date: Thu, 14 Nov 2019 23:11:16 +0000 Subject: [PATCH] Fix error message when ovftool is missing --- builder/vmware/common/step_export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/step_export.go b/builder/vmware/common/step_export.go index 3ce738428..4719a3735 100644 --- a/builder/vmware/common/step_export.go +++ b/builder/vmware/common/step_export.go @@ -73,7 +73,7 @@ func (s *StepExport) Run(ctx context.Context, state multistep.StateBag) multiste ovftool := GetOVFTool() if ovftool == "" { - err := fmt.Errorf("Error %s not found: ", ovftool) + err := fmt.Errorf("Error ovftool not found") state.Put("error", err) ui.Error(err.Error()) return multistep.ActionHalt