provisioner/shell: fix dropped error

This commit is contained in:
Lars Lehtonen 2019-10-15 00:45:05 -07:00
parent f05fd3969f
commit 9c19cfdc6f
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 3 additions and 0 deletions

View File

@ -266,6 +266,9 @@ func (p *Provisioner) Provision(ctx context.Context, ui packer.Ui, comm packer.C
p.config.envVarFile = remoteVFName
return nil
})
if err != nil {
return err
}
}
// Create environment variables to set before executing the command