Security Manager Fix

This commit is contained in:
Konloch 2021-07-13 00:44:51 -07:00
parent 1b5f8e16db
commit 410189fce6

View file

@ -95,7 +95,7 @@ public class SecurityMan extends SecurityManager
if (allow && blocking <= 0)
{
if(silentExec == 1)
if(silentExec >= 1)
System.out.println("Allowing exec: " + cmd);
}
else throw new SecurityException("BCV is awesome, blocking(" + blocking + ") exec " + cmd);