#5148: Default recipe error logged on setup

This commit is contained in:
jtkech
2015-04-18 01:03:04 +02:00
parent 1407ff7fce
commit 009edb8d75

View File

@@ -57,7 +57,7 @@ namespace Orchard.Recipes.Services {
_appDataFolder.DeleteFile(stepPath);
}
if (stepIndex < 1) {
if (stepIndex < 0) {
_appDataFolder.DeleteFile(Path.Combine(_recipeQueueFolder, executionId));
}
@@ -86,4 +86,4 @@ namespace Orchard.Recipes.Services {
return lastIndex;
}
}
}
}