Skip to content

Commit

Permalink
Return 4 on focusing another wyUpdate instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattoday committed Feb 23, 2013
1 parent c933cc7 commit daf3c88
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,18 @@ static int Main(string[] args)
else
{
FocusOtherProcess();
return 4;
}

/*
Possible return codes:
0 = Success / no updates found
1 = General error
2 = Updates found
3 = Update process cancelled
4 = wyUpdate exited immediately to focus another wyUpdate instance
*/
return mainForm.ReturnCode;
}

Expand Down

0 comments on commit daf3c88

Please sign in to comment.