builder/virtualbox: comment

pull/1468/head
Mitchell Hashimoto 12 years ago
parent f54f09d7a3
commit 863e06a614

@ -158,6 +158,8 @@ func (d *VBox42Driver) VBoxManage(args ...string) error {
}
if err == nil {
// Sometimes VBoxManage gives us an error with a zero exit code,
// so we also regexp match an error string.
m, _ := regexp.MatchString("VBoxManage([.a-z]+?): error:", stderrString)
if m {
err = fmt.Errorf("VBoxManage error: %s", stderrString)

Loading…
Cancel
Save