Fix certutil check

This commit is contained in:
crschnick 2024-03-07 01:50:52 +00:00
parent fe2334e936
commit 84700d2a27

View file

@ -9,7 +9,7 @@ public class AppCertutilCheck {
private static boolean getResult() {
var fc = new ProcessBuilder(System.getenv("WINDIR") + "\\System32\\certutil")
.redirectError(ProcessBuilder.Redirect.DISCARD);
.redirectErrorStream(true);
try {
var proc = fc.start();
var out = new String(proc.getInputStream().readAllBytes());