Skip to content
This repository has been archived by the owner on Mar 23, 2018. It is now read-only.

Commit

Permalink
fix: return correct status from process retry
Browse files Browse the repository at this point in the history
  • Loading branch information
cruikshj committed Apr 25, 2016
1 parent e393b70 commit 165278b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nautilus/NautilusService.Install.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private static bool RunProcess(string fileName, string arguments, StringBuilder
const int retryInterval = 60000;
output.AppendLine($"Retrying in {retryInterval/1000} seconds");
Thread.Sleep(retryInterval);
RunProcess(fileName, arguments, output, retryCount - 1, retryCodes);
return RunProcess(fileName, arguments, output, retryCount - 1, retryCodes);
}

return exitCode == 0;
Expand Down

0 comments on commit 165278b

Please sign in to comment.