Skip to content

Commit

Permalink
Don't ignore exit code returned by commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas committed Jan 5, 2024
1 parent 9e17b03 commit eae79ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/main/java/lt/pow/nukagit/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void run() {

public static void main(String[] args) {
CommandLine commandLine = new CommandLine(new Main());
commandLine.execute(args);
int exitCode = commandLine.execute(args);
System.exit(exitCode);
}
}

0 comments on commit eae79ba

Please sign in to comment.