Skip to content

Commit

Permalink
Updated NoExit manager
Browse files Browse the repository at this point in the history
  • Loading branch information
nvitucci committed Feb 1, 2021
1 parent a1c9124 commit 0c60cc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/hotels/beeju/NoExitSecurityManager.java
Expand Up @@ -36,6 +36,7 @@ public boolean isExitAllowed() {
public void checkExit(int status) {
if (!isExitAllowed()) {
System.out.println("System.exit call intercepted and ignored.");
return;
}
super.checkExit(status);
}
Expand Down

0 comments on commit 0c60cc0

Please sign in to comment.