SUPPORT-8771:fix

This commit is contained in:
adel.kalimullin 2024-12-11 08:41:58 +03:00
parent d263982be1
commit 7e70b860cb

View file

@ -56,7 +56,6 @@ public class FileScanService {
Process process = processBuilder.start();
try (InputStream inputStream = process.getInputStream()) {
String result = new String(inputStream.readAllBytes());
process.waitFor();
int exitCode = process.waitFor();
if (exitCode != 0 && exitCode != 72) {
throw new AvException("Ошибка KESL, код завершения: " + exitCode);