mirror of https://github.com/docker/docs.git
Merge branch 'master' into sean-polish
This commit is contained in:
commit
99ae10ef1f
|
@ -31,7 +31,7 @@ var VirtualBox = {
|
|||
return util.exec(['pkill', 'VirtualBox']);
|
||||
}).then(() => {
|
||||
return util.exec(['pkill', 'VBox']);
|
||||
}).catch(err => {
|
||||
}).catch(() => {
|
||||
|
||||
});
|
||||
},
|
||||
|
@ -48,9 +48,6 @@ var VirtualBox = {
|
|||
},
|
||||
vmdestroy: function (name) {
|
||||
return Promise.coroutine(function* () {
|
||||
if (!this.installed()) {
|
||||
return Promise.reject('VirtualBox not installed.');
|
||||
}
|
||||
try {
|
||||
var state = yield this.vmstate(name);
|
||||
if (state === 'running') {
|
||||
|
|
Loading…
Reference in New Issue