|
|
@@ -102,7 +102,7 @@ public class ReportFingerprintService {
|
|
|
pb.redirectErrorStream(true);
|
|
|
Process process = pb.start();
|
|
|
|
|
|
- String output = new String(readStream(process.getInputStream()), StandardCharsets.UTF_8);
|
|
|
+ String output = readStream(process.getInputStream());
|
|
|
int exitCode = process.waitFor();
|
|
|
|
|
|
if (exitCode == 0 && !output.trim().isEmpty()) {
|
|
|
@@ -156,7 +156,7 @@ public class ReportFingerprintService {
|
|
|
pb.redirectErrorStream(true);
|
|
|
Process process = pb.start();
|
|
|
|
|
|
- String output = new String(readStream(process.getInputStream()), StandardCharsets.UTF_8);
|
|
|
+ String output = readStream(process.getInputStream());
|
|
|
int exitCode = process.waitFor();
|
|
|
|
|
|
if (exitCode == 0 && !output.trim().isEmpty()) {
|