Skip to content

Commit

Permalink
Make exit code conditional on non-0 to keep the GUI alive.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkriens committed Apr 24, 2024
1 parent d4e5880 commit d1b71cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ public static void main(String[] args) {
} catch (Exception e) {
e.printStackTrace();
}
System.exit(exitCode);
if (exitCode != 0)
System.exit(exitCode);
}

public void __alloy(BaseOptions options) throws Exception {
Expand Down

0 comments on commit d1b71cf

Please sign in to comment.