Skip to content

Commit

Permalink
Properly return 0 when a Bazel-side classpath fallback was requested…
Browse files Browse the repository at this point in the history
… and is

    necessary.

    RELNOTES: None.
    PiperOrigin-RevId: 240378103
  • Loading branch information
Luca Di Grazia committed Sep 4, 2022
1 parent a916f50 commit 72412d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static int processRequest(List<String> args, PrintWriter err) {
err.write(d.getFormatted() + "\n");
}
err.write(result.output());
return result.isOk() ? 0 : 1;
return result.status().exitCode();
}
} catch (InvalidCommandLineException e) {
err.println(CMDNAME + " threw exception: " + e.getMessage());
Expand Down

0 comments on commit 72412d5

Please sign in to comment.