Exit if error code is not zero

This commit is contained in:
Joshua Granick
2016-06-06 16:09:50 -07:00
parent 108bee184c
commit 7d4eb9364e

View File

@@ -112,7 +112,11 @@ class ApplicationMain {
var result = app.exec ();
#if (sys && !nodejs && !emscripten)
Sys.exit (result);
if (result != 0) {
Sys.exit (result);
}
#end
#else