Exit if error code is not zero
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user