Accidentally included bracket

This commit is contained in:
Taliesin Sisson 2015-11-03 09:58:45 +00:00
parent e0c10dec12
commit 8477a0b748
1 changed files with 1 additions and 1 deletions

View File

@ -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
}