[macOS] Return exit code specified by `OS.exit_code` parameter.

This commit is contained in:
bruvzg 2018-03-26 16:55:57 +03:00
parent f2b51815c7
commit 834f427cf5
No known key found for this signature in database
GPG Key ID: FCED35F1CECE0D3A
1 changed files with 1 additions and 1 deletions

View File

@ -84,5 +84,5 @@ int main(int argc, char **argv) {
os.run(); // it is actually the OS that decides how to run
Main::cleanup();
return 0;
return os.get_exit_code();
};