Skip to content

Commit

Permalink
DCA11Y-1145: handle empty SHELL
Browse files Browse the repository at this point in the history
  • Loading branch information
flipatlas committed Oct 11, 2024
1 parent 7883b67 commit bd74da9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ private String parseOutput(ByteArrayOutputStream stream) {
}

private String getCurrentShell() {


String shell = System.getenv("SHELL");
if (shell == null || shell.isEmpty()) {
logger.debug("SHELL is not available in environment variables. Trying to get it from child process.");
Expand Down

0 comments on commit bd74da9

Please sign in to comment.