From 8477a0b748f8f74a7a440af48553938d7a8e32af Mon Sep 17 00:00:00 2001 From: Taliesin Sisson Date: Tue, 3 Nov 2015 09:58:45 +0000 Subject: [PATCH] Accidentally included bracket --- builder/hyperv/common/step_shutdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/hyperv/common/step_shutdown.go b/builder/hyperv/common/step_shutdown.go index 06ddb6f39..db60a1517 100644 --- a/builder/hyperv/common/step_shutdown.go +++ b/builder/hyperv/common/step_shutdown.go @@ -61,7 +61,7 @@ func (s *StepShutdown) Run(state multistep.StateBag) multistep.StepAction { if !(cmd.ExitStatus == 0 || (cmd.ExitStatus == 1 && len(stderrString) == 0)) { state.Put("error", fmt.Errorf( "Shutdown command has not successful.\n\nExitStatus: %d\n\nStdout: %s\n\nStderr: %s", - cmd.ExitStatus, stdoutString), stderrString)) + cmd.ExitStatus, stdoutString, stderrString)) return multistep.ActionHalt }