mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fix command host retry logic
--HG-- branch : dev
This commit is contained in:
@@ -78,7 +78,10 @@ namespace Orchard {
|
||||
var orchardDirectory = GetOrchardDirectory(_arguments.WorkingDirectory);
|
||||
LogInfo("Orchard root directory: \"{0}\"", orchardDirectory.FullName);
|
||||
|
||||
return CreateHostAndExecute(orchardDirectory);
|
||||
int result = CreateHostAndExecute(orchardDirectory);
|
||||
if (result == 240/*special return code for "Retry"*/)
|
||||
result = CreateHostAndExecute(orchardDirectory);
|
||||
return result;
|
||||
}
|
||||
|
||||
private int CreateHostAndExecute(DirectoryInfo orchardDirectory) {
|
||||
|
Reference in New Issue
Block a user