provisioner/shell: missing error arg

This commit is contained in:
Mitchell Hashimoto 2015-06-15 15:11:08 -07:00
parent a235419c7d
commit 6c80228661
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,8 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
cmd.Wait()
if cmd.ExitStatus != 0 {
return fmt.Errorf(
"Error removing temporary script at %s!")
"Error removing temporary script at %s!",
p.config.RemotePath)
}
}