Fix bug where machine would not exist

This commit is contained in:
Jeffrey Morgan
2015-05-09 09:18:53 -07:00
parent c75bc2188e
commit c826d08917
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Kitematic",
"version": "0.5.24",
"version": "0.5.25",
"author": "Kitematic",
"description": "Simple Docker Container management for Mac OS X.",
"homepage": "https://kitematic.com/",

View File

@@ -64,7 +64,7 @@ var _steps = [{
setupUtil.simulateProgress(this.seconds, progressCallback);
var exists = yield machine.exists();
if (!exists || (yield machine.state()) === 'Error') {
if ((yield machine.state()) === 'Error') {
if (exists && (yield machine.state()) === 'Error') {
yield machine.rm();
}
yield machine.create();