Merge pull request #8230 from alrs/fix-provisioner-err

provisioner/shell: fix dropped error
This commit is contained in:
Adrien Delorme 2019-10-15 12:37:51 +02:00 committed by GitHub
commit 6a85855c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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