Fixed info declared and not used

This commit is contained in:
Neeki Patel 2014-12-16 09:49:57 -05:00
parent 5a9e5df967
commit 027b43ea05
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
errs = packer.MultiErrorAppend(errs,
fmt.Errorf("A manifest_file must be specified."))
} else {
info, err := os.Stat(p.config.ManifestFile)
_, err := os.Stat(p.config.ManifestFile)
if err != nil {
errs = packer.MultiErrorAppend(errs,
fmt.Errorf("manifest_file is invalid: %s", err))